mirror of
https://github.com/libretro/RetroArch
synced 2025-02-03 17:54:04 +00:00
(iOS) Fix crash in fill_rect upon closing RetroArch iOS
This commit is contained in:
parent
a3f4c07078
commit
343f0c40dd
@ -94,7 +94,7 @@ static void fill_rect(uint16_t *buf, unsigned pitch,
|
||||
{
|
||||
unsigned j, i;
|
||||
|
||||
if (!buf)
|
||||
if (!buf || !col)
|
||||
return;
|
||||
|
||||
for (j = y; j < y + height; j++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user