From f19f1d74142690c222e37a1257f089eb1df0c381 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Mon, 14 Jan 2013 00:59:06 +0100 Subject: [PATCH] fbaccel: fix paintPixel for coolstream --- src/driver/fbaccel.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/driver/fbaccel.cpp b/src/driver/fbaccel.cpp index bad566625..a2a0b0dd5 100644 --- a/src/driver/fbaccel.cpp +++ b/src/driver/fbaccel.cpp @@ -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) { -#if HAVE_TRIPLEDRAGON || defined (USE_NEVIS_GXA) - paintLine(x, y, x, y, col); +#if HAVE_TRIPLEDRAGON + setColor(col); + dfbdest->DrawLine(dfbdest, x, y, x, y); +#elif defined (USE_NEVIS_GXA) + paintLine(x, y, x + 1, y, col); #else fb_pixel_t *pos = fb->getFrameBufferPointer(); pos += (fb->stride / sizeof(fb_pixel_t)) * y;