From c4b24d87344f9585241600c1878daf2be6d1bbac Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 21 Feb 2015 19:48:12 +0100 Subject: [PATCH] fbaccel: mark framebuffer dirty when drawing lines --- src/driver/fbaccel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/driver/fbaccel.cpp b/src/driver/fbaccel.cpp index 82663967d..51ec943cd 100644 --- a/src/driver/fbaccel.cpp +++ b/src/driver/fbaccel.cpp @@ -395,6 +395,7 @@ void CFbAccel::paintRect(const int x, const int y, const int dx, const int dy, c *fbs = col; fbs += DEFAULT_XRES; } + mark(x , y, x + 1, y + dy); return; } if (dy == 1) { @@ -403,6 +404,7 @@ void CFbAccel::paintRect(const int x, const int y, const int dx, const int dy, c fb_pixel_t *fbe = fbs + dx; while (fbs < fbe) *fbs++ = col; + mark(x , y, x + dx, y + 1); return; }