mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Added comment to vsync func.
This commit is contained in:
parent
18a0d45afe
commit
3c297c2a14
@ -465,7 +465,7 @@ static void _waitevent(Handle *handle) {
|
|||||||
|
|
||||||
void gfxWaitForVsync() {
|
void gfxWaitForVsync() {
|
||||||
_waitevent(&g_gfxDisplayVsyncEvent);
|
_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() {
|
void gfxSwapBuffers() {
|
||||||
|
Loading…
Reference in New Issue
Block a user