Update GameEngine.c

This commit is contained in:
abdelrahman committed 2022-12-04 00:08:30 +00:00
1 parent 5e6211c2a9
commit 5aa475c577
1 file changed
+1 -1
+1 -1
View File
@@ -725,9 +725,9 @@ void update() {
u64 current_time = SDL_GetTicks64();
#ifndef DEBUG_ENGINE
// Get the delta time in seconds since the SDL_GetTicks64() returns the
// time in milliseconds
#ifndef DEBUG_ENGINE
GameEngine.delta = (current_time - GameEngine.last_time) / 1000.0f;
#endif /* !DEBUG_ENGINE */