2
0
Эх сурвалжийг харах

Fixed love.timer.step / dt

Alex Szpakowski 12 жил өмнө
parent
commit
ce71bc0847

+ 3 - 3
src/modules/timer/sdl/Timer.h

@@ -64,9 +64,9 @@ public:
 private:
 private:
 
 
 	// Frame delta vars.
 	// Frame delta vars.
-	Uint32 currTime;
-	Uint32 prevTime;
-	Uint32 prevFpsUpdate;
+	double currTime;
+	double prevTime;
+	double prevFpsUpdate;
 
 
 	// Updated with a certain frequency.
 	// Updated with a certain frequency.
 	int fps;
 	int fps;