mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 18:58:21 +00:00
Fix background rendering
Removes the use of GL_SCISSOR_TEST in the GL display driver. Fixes #5534
This commit is contained in:
parent
c68db61188
commit
1b856f7a1e
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user