mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
fixes game screen sometimes not showing in combination with some shaders
and menu drivers using GL. note: this still doesnt fix the game screen not showing when pause_libretro is set to true.
This commit is contained in:
parent
d33a666753
commit
10c2784c02
@ -137,6 +137,7 @@ static void glui_render_background(bool force_transparency)
|
||||
glBindTexture(GL_TEXTURE_2D, 0);
|
||||
}
|
||||
|
||||
gl->shader->use(gl, GL_SHADER_STOCK_BLEND);
|
||||
gl->shader->set_coords(&coords);
|
||||
gl->shader->set_mvp(gl, &gl->mvp_no_rot);
|
||||
|
||||
|
@ -184,6 +184,7 @@ static void lakka_draw_background(bool force_transparency)
|
||||
glBindTexture(GL_TEXTURE_2D, 0);
|
||||
}
|
||||
|
||||
gl->shader->use(gl, GL_SHADER_STOCK_BLEND);
|
||||
gl->shader->set_coords(&coords);
|
||||
gl->shader->set_mvp(gl, &gl->mvp_no_rot);
|
||||
|
||||
|
@ -294,6 +294,7 @@ static void xmb_render_background(bool force_transparency)
|
||||
glBindTexture(GL_TEXTURE_2D, 0);
|
||||
}
|
||||
|
||||
gl->shader->use(gl, GL_SHADER_STOCK_BLEND);
|
||||
gl->shader->set_coords(&coords);
|
||||
gl->shader->set_mvp(gl, &gl->mvp_no_rot);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user