mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(Zahnrad) Don't call glViewport directly
This commit is contained in:
parent
ac084a5175
commit
ee8c5bfa98
@ -1795,7 +1795,8 @@ static void wimp_frame(void *data)
|
||||
zr_input_end(&gui.ctx);
|
||||
|
||||
wimp_start(&gui, width, height);
|
||||
glViewport(0, 0, width, height);
|
||||
menu_display_ctl(MENU_DISPLAY_CTL_SET_VIEWPORT, NULL);
|
||||
|
||||
device_draw(&device, &gui.ctx, width, height, ZR_ANTI_ALIASING_ON);
|
||||
|
||||
/* zahnrad code */
|
||||
|
Loading…
x
Reference in New Issue
Block a user