mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
(PS3) Shader texture is correctly applied after first booting a
game, but not before
This commit is contained in:
parent
88b819ffff
commit
a061fa081c
@ -476,12 +476,14 @@ void gl_frame_menu (void)
|
|||||||
if(!gl)
|
if(!gl)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
||||||
gl_shader_use(SSNES_CG_MENU_SHADER_INDEX);
|
gl_shader_use(SSNES_CG_MENU_SHADER_INDEX);
|
||||||
|
|
||||||
gl_cg_set_params(gl->win_width, gl->win_height, gl->win_width,
|
gl_cg_set_params(gl->win_width, gl->win_height, gl->win_width,
|
||||||
gl->win_height, gl->win_width, gl->win_height, g_frame_count,
|
gl->win_height, gl->win_width, gl->win_height, g_frame_count,
|
||||||
NULL, NULL, NULL, 0);
|
NULL, NULL, NULL, 0);
|
||||||
|
|
||||||
|
set_viewport(gl, gl->win_width, gl->win_height, false);
|
||||||
|
|
||||||
glActiveTexture(GL_TEXTURE0);
|
glActiveTexture(GL_TEXTURE0);
|
||||||
glBindTexture(GL_TEXTURE_2D, menu_texture_id);
|
glBindTexture(GL_TEXTURE_2D, menu_texture_id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user