mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +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;
|
unsigned j, i;
|
||||||
for (j = y; j < y + height; j++)
|
for (j = y; j < y + height; j++)
|
||||||
for (i = x; i < x + width; i++)
|
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;
|
buf[j * (pitch >> 1) + i] = color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user