gl1: add scissor reset from gl

This commit is contained in:
Brad Parker 2019-04-05 18:17:11 -04:00
parent 46455a6ff8
commit 48dc251303
2 changed files with 1 additions and 1 deletions

View File

@ -550,7 +550,6 @@ static void gl1_raster_font_bind_block(void *data, void *userdata)
font->block = block;
}
static int gl1_get_line_height(void *data)
{
gl1_raster_t *font = (gl1_raster_t*)data;

View File

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