mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
(PS3) Should fix resolution switching issues
This commit is contained in:
parent
5c57182330
commit
d6dca4c3d0
@ -288,8 +288,6 @@ static void gfx_ctx_set_blend(bool enable)
|
||||
|
||||
static void gfx_ctx_set_resize(unsigned width, unsigned height) { }
|
||||
|
||||
static bool rmenu_inited = false;
|
||||
|
||||
static bool gfx_ctx_rmenu_init(void)
|
||||
{
|
||||
gl_t *gl = driver.video_data;
|
||||
@ -297,9 +295,6 @@ static bool gfx_ctx_rmenu_init(void)
|
||||
if (!gl)
|
||||
return false;
|
||||
|
||||
if (rmenu_inited)
|
||||
return true;
|
||||
|
||||
#ifdef HAVE_RMENU
|
||||
glGenTextures(1, &menu_texture_id);
|
||||
|
||||
@ -325,8 +320,6 @@ static bool gfx_ctx_rmenu_init(void)
|
||||
free(menu_texture.pixels);
|
||||
#endif
|
||||
|
||||
rmenu_inited = true;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user