From ac3420faac3b0a19403a944eebb1e110034eb4d7 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 4 Sep 2022 12:32:40 +0200 Subject: [PATCH] Update core_custom_frame_control.c --- examples/core/core_custom_frame_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/core/core_custom_frame_control.c b/examples/core/core_custom_frame_control.c index d69481b01..016c6c448 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); }