(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;
|
unsigned j, i;
|
||||||
|
|
||||||
if (!buf)
|
if (!buf || !col)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
for (j = y; j < y + height; j++)
|
for (j = y; j < y + height; j++)
|
||||||
|
|
Loading…
Reference in New Issue