mirror of
https://github.com/libretro/libretro-wolfenstein3d.git
synced 2024-11-23 16:39:41 +00:00
Fill in LR_FillRect
This commit is contained in:
parent
db10fd4543
commit
ecba7c4ea3
@ -111,7 +111,10 @@ uint32_t LR_GetTicks(void)
|
||||
void LR_FillRect(LR_Surface *surface, const void *rect_data, uint32_t color)
|
||||
{
|
||||
unsigned i, j;
|
||||
(void)rect_data;
|
||||
unsigned short *pal = &d_8to16table[0];
|
||||
|
||||
for(i = 0, j = 0; i < 256; i++, j += 3)
|
||||
*pal++ = color;
|
||||
|
||||
for (i = 0; i < surface->surf->w; i++)
|
||||
for (j = 0; j < surface->surf->h; j++)
|
||||
|
Loading…
Reference in New Issue
Block a user