diff options
author | pommicket <pommicket@gmail.com> | 2022-12-31 10:33:21 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-31 10:33:21 -0500 |
commit | 2b3b1bd0ed03739e3357516490e265261c5f815f (patch) | |
tree | 2be37644621ab86838bb6fdb20954660ce617064 /main.c | |
parent | f1751dbb895996728f293c6f895691693c9e8a86 (diff) |
use double instead of struct timespec
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |