Browse Source

Update core_custom_frame_control.c

pull/2751/head
Ray 2 years ago
parent
commit
ac3420faac
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/core/core_custom_frame_control.c

+ 1
- 1
examples/core/core_custom_frame_control.c View File

@ -110,7 +110,7 @@ int main(void)
waitTime = (1.0f/(float)targetFPS) - updateDrawTime;
if (waitTime > 0.0)
{
WaitTime((float)waitTimeo">*1000.0f);
WaitTime((float)waitTime);
currentTime = GetTime();
deltaTime = (float)(currentTime - previousTime);
}

Loading…
Cancel
Save