Initial integration

This commit is contained in:
Marco Naveni 2026-04-02 15:16:13 -03:00
commit bbd970b7ba

View file

@ -2126,6 +2126,7 @@ int InitPlatform(void)
//----------------------------------------------------------------------------
// Get base time from window initialization
CORE.Time.base = (double)SDL_GetPerformanceCounter()/(double)SDL_GetPerformanceFrequency();
CORE.Time.previous = GetTime();
#if defined(_WIN32) && SUPPORT_WINMM_HIGHRES_TIMER && !SUPPORT_BUSY_WAIT_LOOP
SDL_SetHint(SDL_HINT_TIMER_RESOLUTION, "1"); // SDL equivalent of timeBeginPeriod() and timeEndPeriod()