summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-31 10:33:21 -0500
committerpommicket <pommicket@gmail.com>2022-12-31 10:33:21 -0500
commit2b3b1bd0ed03739e3357516490e265261c5f815f (patch)
tree2be37644621ab86838bb6fdb20954660ce617064 /main.c
parentf1751dbb895996728f293c6f895691693c9e8a86 (diff)
use double instead of struct timespec
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index d091c64..3f8cc1c 100644
--- a/main.c
+++ b/main.c
@@ -651,7 +651,7 @@ int main(int argc, char **argv) {
while (!ted->quit) {
double frame_start = time_get_seconds();
- ted->frame_time = time_get();
+ ted->frame_time = frame_start;
SDL_Event event;
Uint8 const *keyboard_state = SDL_GetKeyboardState(NULL);