mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Fix gfxWaitForVsync
This commit is contained in:
parent
8485facf99
commit
998980843f
@ -258,9 +258,9 @@ void gfxExit(void) {
|
||||
}
|
||||
|
||||
void gfxWaitForVsync() {
|
||||
s32 tmpindex=0;
|
||||
s32 tmp = 0;
|
||||
svcWaitSynchronization(&tmp, &g_gfxDisplayVsyncEvent, 1, U64_MAX);
|
||||
svcClearEvent(g_gfxDisplayVsyncEvent);
|
||||
svcWaitSynchronization(&tmpindex, &g_gfxDisplayVsyncEvent, 1, U64_MAX);
|
||||
}
|
||||
|
||||
void gfxSwapBuffers() {
|
||||
|
Loading…
Reference in New Issue
Block a user