(Menu) Resets the shader before drawing the menu background, prevents to apply the game shader to the menu background

This commit is contained in:
Jean-André Santoni 2015-06-26 19:38:42 +07:00
parent 7d9240a5b2
commit b15cd61f63

View File

@ -97,6 +97,9 @@ static INLINE void gl_menu_frame_background(
coords.lut_tex_coord = tex_coord;
coords.color = black_color;
if (gl->shader && gl->shader->use)
gl->shader->use(gl, GL_SHADER_STOCK_BLEND);
menu_display_set_viewport();
if ((settings->menu.pause_libretro