mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
fbaccel: mark framebuffer dirty when drawing lines
Origin commit data
------------------
Commit: c4b24d8734
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-21 (Sat, 21 Feb 2015)
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 += 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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user