mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
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:
parent
3273ccb5d6
commit
376317309e
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user