From 3c297c2a14e88b213b68b2ec3cc299f9602f0663 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Fri, 22 Dec 2017 22:33:31 -0500 Subject: [PATCH] Added comment to vsync func. --- nx/source/gfx/gfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/source/gfx/gfx.c b/nx/source/gfx/gfx.c index bc648429..b062b821 100644 --- a/nx/source/gfx/gfx.c +++ b/nx/source/gfx/gfx.c @@ -465,7 +465,7 @@ static void _waitevent(Handle *handle) { void gfxWaitForVsync() { _waitevent(&g_gfxDisplayVsyncEvent); - _waitevent(&g_gfxDisplayVsyncEvent); + _waitevent(&g_gfxDisplayVsyncEvent);//The display refresh-rate is supposed to be 60Hz. So why is it only refreshed at 30Hz?(Hardware register(s) are updated by the time _gfxDequeueBuffer() finishes, but not yet used by the display at that time) } void gfxSwapBuffers() {