(iOS) Fix crash in fill_rect upon closing RetroArch iOS

This commit is contained in:
Twinaphex 2015-01-01 18:53:04 +01:00
parent a3f4c07078
commit 343f0c40dd

View File

@ -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++)