mirror of
https://github.com/raysan5/raylib.git
synced 2025-11-24 03:00:25 +00:00
Update rcore.c
This commit is contained in:
@@ -4841,7 +4841,7 @@ void WaitTime(float ms)
|
|||||||
double currentTime = 0.0;
|
double currentTime = 0.0;
|
||||||
|
|
||||||
// Partial busy wait loop (only a fraction of the total wait time)
|
// Partial busy wait loop (only a fraction of the total wait time)
|
||||||
while ((currentTime - previousTime) < busyWait/1000.0f) currentTime = GetTime();
|
while ((currentTime - previousTime) < (busyWait/1000.0f)) currentTime = GetTime();
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user