Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Spodi committed Jul 10, 2023
1 parent d5c9027 commit 462fcd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/graphic/Fast3D/gfx_sdl2.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <stdio.h>
#include <Windows.h>

#ifndef __SWITCH__
#include "libultraship/libultraship.h"
Expand Down Expand Up @@ -548,7 +549,7 @@ static inline void sync_framerate_with_timer(void) {
}

do {
_mm_pause;
YieldProcessor();
t = qpc_to_100ns(SDL_GetPerformanceCounter());
} while (t < next);

Expand Down

0 comments on commit 462fcd2

Please sign in to comment.