mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
fbaccel: fix paintPixel for coolstream
This commit is contained in:
@@ -413,8 +413,11 @@ void CFbAccel::paintRect(const int x, const int y, const int dx, const int dy, c
|
|||||||
|
|
||||||
void CFbAccel::paintPixel(const int x, const int y, const fb_pixel_t col)
|
void CFbAccel::paintPixel(const int x, const int y, const fb_pixel_t col)
|
||||||
{
|
{
|
||||||
#if HAVE_TRIPLEDRAGON || defined (USE_NEVIS_GXA)
|
#if HAVE_TRIPLEDRAGON
|
||||||
paintLine(x, y, x, y, col);
|
setColor(col);
|
||||||
|
dfbdest->DrawLine(dfbdest, x, y, x, y);
|
||||||
|
#elif defined (USE_NEVIS_GXA)
|
||||||
|
paintLine(x, y, x + 1, y, col);
|
||||||
#else
|
#else
|
||||||
fb_pixel_t *pos = fb->getFrameBufferPointer();
|
fb_pixel_t *pos = fb->getFrameBufferPointer();
|
||||||
pos += (fb->stride / sizeof(fb_pixel_t)) * y;
|
pos += (fb->stride / sizeof(fb_pixel_t)) * y;
|
||||||
|
Reference in New Issue
Block a user