This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
Update core_custom_frame_control.c
pull/2751/head
Ray
2 years ago
parent
ee5a87826d
commit
ac3420faac
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
)
waitTime
o">*
1000.0f
)
;
WaitTime
(
(
float
)
waitTime
)
;
currentTime
=
GetTime
(
)
;
deltaTime
=
(
float
)
(
currentTime
-
previousTime
)
;
}
Write
Preview
Loading…
Cancel
Save