summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRay <[email protected]>2022-09-04 12:32:40 +0200
committerRay <[email protected]>2022-09-04 12:32:40 +0200
commitac3420faac3b0a19403a944eebb1e110034eb4d7 (patch)
treee420b30a3236ae3dd6ed12e18c9957af96d732ef
parentee5a87826d22ba14f0ad3d3938c92ca42d217146 (diff)
downloadraylib-ac3420faac3b0a19403a944eebb1e110034eb4d7.tar.gz
raylib-ac3420faac3b0a19403a944eebb1e110034eb4d7.zip
Update core_custom_frame_control.c
-rw-r--r--examples/core/core_custom_frame_control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/core/core_custom_frame_control.c b/examples/core/core_custom_frame_control.c
index d69481b0..016c6c44 100644
--- a/examples/core/core_custom_frame_control.c
+++ b/examples/core/core_custom_frame_control.c
@@ -110,7 +110,7 @@ int main(void)
waitTime = (1.0f/(float)targetFPS) - updateDrawTime;
if (waitTime > 0.0)
{
- WaitTime((float)waitTime*1000.0f);
+ WaitTime((float)waitTime);
currentTime = GetTime();
deltaTime = (float)(currentTime - previousTime);
}