From b15cd61f63c05b508220a84b6173d05b2bca09f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Andr=C3=A9=20Santoni?= Date: Fri, 26 Jun 2015 19:38:42 +0700 Subject: [PATCH] (Menu) Resets the shader before drawing the menu background, prevents to apply the game shader to the menu background --- menu/drivers/shared.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/menu/drivers/shared.h b/menu/drivers/shared.h index ae3c79fbbb..7c63c33537 100644 --- a/menu/drivers/shared.h +++ b/menu/drivers/shared.h @@ -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