(PS3) Blending in menu now works correctly across all shaders

This commit is contained in:
TwinAphex51224 2012-03-03 17:58:14 +01:00
parent ed5e67425c
commit b73d8bb569

View File

@ -2278,7 +2278,7 @@ static void ingame_menu(uint32_t menu_id)
if(CTRL_SQUARE(~state))
{
glClear(GL_COLOR_BUFFER_BIT);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
}
ssnes_render_cached_frame();
@ -2590,7 +2590,7 @@ void menu_loop(void)
do
{
glClear(GL_COLOR_BUFFER_BIT);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
if(g_console.emulator_initialized)
ssnes_render_cached_frame();