mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user