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:
aliaspider 2014-10-19 21:24:29 +01:00
parent d33a666753
commit 10c2784c02
3 changed files with 3 additions and 0 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);