Soma Mizobuchi 1 päivä sitten
committed by GitHub
vanhempi
commit
78778f2a78
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. +1
    -2
      src/platforms/rcore_desktop_sdl.c

+ 1
- 2
src/platforms/rcore_desktop_sdl.c Näytä tiedosto

@ -1276,8 +1276,7 @@ void SwapScreenBuffer(void)
// Get elapsed time measure in seconds
double GetTime(void)
{
unsigned int ms = SDL_GetTicks(); // Elapsed time in milliseconds since SDL_Init()
double time = (double)ms/1000;
double time = (double)SDL_GetPerformanceCounter() / (double)SDL_GetPerformanceFrequency();
return time;
}

Ladataan…
Peruuta
Tallenna