cFramebuffer: fix compiler warnings for !USE_NEVIS_GXA case

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1267 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
seife
2011-03-06 18:30:23 +00:00
parent 35388c609f
commit eea87682d2

View File

@@ -911,9 +911,9 @@ bool CFrameBuffer::paintIcon8(const std::string & filename, const int x, const i
return true;
}
#ifdef USE_NEVIS_GXA
bool CFrameBuffer::blitToPrimary(unsigned int * data, int dx, int dy, int sw, int sh)
{
#ifdef USE_NEVIS_GXA
u32 cmd;
void * uKva;
@@ -932,10 +932,13 @@ printf("CFrameBuffer::blitToPrimary: data %x Kva %x\n", (int) data, (int) uKva);
_write_gxa(gxa_base, cmd, GXA_POINT(0, 0)); /* source pos */
return true;
#else
return false;
#endif
}
#else
bool CFrameBuffer::blitToPrimary(unsigned int *, int, int, int, int)
{
return false;
}
#endif
/* paint icon at position x/y,
if height h is given, center vertically between y and y+h