mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
(RGUI) Silence another warning
This commit is contained in:
parent
6ca1a18571
commit
0fcbecf885
@ -108,7 +108,7 @@ static void color_rect(uint16_t *buf, unsigned pitch,
|
||||
unsigned j, i;
|
||||
for (j = y; j < y + height; j++)
|
||||
for (i = x; i < x + width; i++)
|
||||
if (i >= 0 && j >= 0 && i < driver.menu->width && j < driver.menu->height)
|
||||
if (i < driver.menu->width && j < driver.menu->height)
|
||||
buf[j * (pitch >> 1) + i] = color;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user