mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +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 void gfx_ctx_set_resize(unsigned width, unsigned height) { }
|
||||||
|
|
||||||
static bool rmenu_inited = false;
|
|
||||||
|
|
||||||
static bool gfx_ctx_rmenu_init(void)
|
static bool gfx_ctx_rmenu_init(void)
|
||||||
{
|
{
|
||||||
gl_t *gl = driver.video_data;
|
gl_t *gl = driver.video_data;
|
||||||
@ -297,9 +295,6 @@ static bool gfx_ctx_rmenu_init(void)
|
|||||||
if (!gl)
|
if (!gl)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (rmenu_inited)
|
|
||||||
return true;
|
|
||||||
|
|
||||||
#ifdef HAVE_RMENU
|
#ifdef HAVE_RMENU
|
||||||
glGenTextures(1, &menu_texture_id);
|
glGenTextures(1, &menu_texture_id);
|
||||||
|
|
||||||
@ -325,8 +320,6 @@ static bool gfx_ctx_rmenu_init(void)
|
|||||||
free(menu_texture.pixels);
|
free(menu_texture.pixels);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
rmenu_inited = true;
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
6
gfx/gl.c
6
gfx/gl.c
@ -1830,12 +1830,6 @@ static void gl_restart(void)
|
|||||||
gl_cg_invalidate_context();
|
gl_cg_invalidate_context();
|
||||||
#endif
|
#endif
|
||||||
gl_start();
|
gl_start();
|
||||||
|
|
||||||
#ifdef HAVE_RMENU
|
|
||||||
SET_TIMER_EXPIRATION(0, 30);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
g_extern.frame_count = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gl_apply_state_changes(void)
|
static void gl_apply_state_changes(void)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user