Fix background rendering

Removes the use of GL_SCISSOR_TEST in the GL display driver.

Fixes #5534
This commit is contained in:
Rob Loach 2017-10-11 21:30:57 -04:00
parent c68db61188
commit 1b856f7a1e
No known key found for this signature in database
GPG Key ID: 627C60834A74A21A

View File

@ -83,7 +83,6 @@ static void menu_display_gl_blend_begin(void)
glEnable(GL_BLEND); glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_SCISSOR_TEST);
shader_info.data = NULL; shader_info.data = NULL;
shader_info.idx = VIDEO_SHADER_STOCK_BLEND; shader_info.idx = VIDEO_SHADER_STOCK_BLEND;
@ -95,7 +94,6 @@ static void menu_display_gl_blend_begin(void)
static void menu_display_gl_blend_end(void) static void menu_display_gl_blend_end(void)
{ {
glDisable(GL_BLEND); glDisable(GL_BLEND);
glDisable(GL_SCISSOR_TEST);
} }
static void menu_display_gl_viewport(void *data) static void menu_display_gl_viewport(void *data)