mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 23:13:13 +02:00
Merge branch 'master' into pu/mp
This commit is contained in:
@@ -58,6 +58,10 @@ fb_pixel_t *getFBp(int *y)
|
||||
|
||||
void FillRect(int x, int y, int w, int h, int color)
|
||||
{
|
||||
if(color < 0 || SIZECOLTABLE < color){
|
||||
printf("FIXME array size %i color %i not in range\n",SIZECOLTABLE,color);
|
||||
return;
|
||||
}
|
||||
fb_pixel_t *p = getFBp(&y);
|
||||
MARK_FB(x, y, w, h);
|
||||
p += x + y * stride;
|
||||
|
Reference in New Issue
Block a user