mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
gfxWaitForVsync not needed with libnx 1.4
- still honors ctx->vsync if enabled in _frame callback for throttling
This commit is contained in:
parent
9303cf382f
commit
1c097fbd5b
@ -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