gfxWaitForVsync not needed with libnx 1.4

- still honors ctx->vsync if enabled in _frame callback for throttling
This commit is contained in:
lifajucejo 2018-09-20 22:11:52 -04:00
parent 9303cf382f
commit 1c097fbd5b

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;