Revert "(GX Video) Only update texture if frame is not NULL"

This reverts commit 78027ee920c45f60321682d7a2bcd6f393939d12.

the logic for this is already in update_textures and it broke menu rendering
This commit is contained in:
Toad King 2012-12-18 21:12:00 -05:00
parent 3273ccb5d6
commit 376317309e

View File

@ -805,7 +805,10 @@ static bool gx_frame(void *data, const void *frame,
else
gx->msg[0] = 0;
if (!frame && g_extern.draw_menu)
if(!frame && !g_extern.draw_menu)
return true;
if (!frame)
width = height = 4; // draw a black square in the background
if(should_resize)
@ -826,9 +829,7 @@ static bool gx_frame(void *data, const void *frame,
g_draw_done = false;
g_current_framebuf ^= 1;
if(frame)
update_textures(frame, width, height, pitch);
update_textures(frame, width, height, pitch);
//if (frame)
{