mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
fbaccel: mark framebuffer dirty when drawing lines
This commit is contained in:
@@ -395,6 +395,7 @@ void CFbAccel::paintRect(const int x, const int y, const int dx, const int dy, c
|
|||||||
*fbs = col;
|
*fbs = col;
|
||||||
fbs += DEFAULT_XRES;
|
fbs += DEFAULT_XRES;
|
||||||
}
|
}
|
||||||
|
mark(x , y, x + 1, y + dy);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (dy == 1) {
|
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;
|
fb_pixel_t *fbe = fbs + dx;
|
||||||
while (fbs < fbe)
|
while (fbs < fbe)
|
||||||
*fbs++ = col;
|
*fbs++ = col;
|
||||||
|
mark(x , y, x + dx, y + 1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user