Merge pull request #8186 from natinusala/master

menu_display_gl: fix scissoring implementation for gl enabled cores
This commit is contained in:
Twinaphex 2019-02-06 02:53:06 +01:00 committed by GitHub
commit 11b02125dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@ -76,6 +76,7 @@ run.sh
convert_rumble.awk
*~
assets
info
# Wii U
*.depend

View File

@ -259,6 +259,7 @@ static void menu_display_gl_scissor_begin(video_frame_info_t *video_info, int x,
static void menu_display_gl_scissor_end(video_frame_info_t *video_info)
{
glScissor(0, 0, video_info->width, video_info->height);
glDisable(GL_SCISSOR_TEST);
}