mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
gl1: add scissor reset from gl
This commit is contained in:
parent
46455a6ff8
commit
48dc251303
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user