Merge pull request #7266 from lifajucejo/libnx_vsync_mitigation

gfxWaitForVsync not needed with libnx 1.4
This commit is contained in:
Twinaphex 2018-09-21 10:42:16 +02:00 committed by GitHub
commit aebfe95895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;