mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Merge pull request #7266 from lifajucejo/libnx_vsync_mitigation
gfxWaitForVsync not needed with libnx 1.4
This commit is contained in:
commit
aebfe95895
@ -142,7 +142,6 @@ static void clear_screen(switch_video_t *sw)
|
||||
|
||||
gfxFlushBuffers();
|
||||
gfxSwapBuffers();
|
||||
gfxWaitForVsync();
|
||||
}
|
||||
|
||||
static void *switch_init(const video_info_t *video,
|
||||
@ -469,7 +468,7 @@ static bool switch_frame(void *data, const void *frame,
|
||||
|
||||
gfxFlushBuffers();
|
||||
gfxSwapBuffers();
|
||||
if (sw->vsync || video_info->menu_is_alive)
|
||||
if (sw->vsync)
|
||||
gfxWaitForVsync();
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user