Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Kaweees/kiwiGL
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaweees committed Nov 2, 2024
2 parents d610c27 + 1665998 commit ee0b83b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ Display::~Display() {

void Display::update() {
#ifndef BENCHMARK_MODE
while (!SDL_TICKS_PASSED(SDL_GetTicks(), prevTime + FRAME_TIME));
while (!SDL_TICKS_PASSED(SDL_GetTicks(), prevTime + FRAME_TIME))
;
prevTime = SDL_GetTicks();
#endif

Expand Down

0 comments on commit ee0b83b

Please sign in to comment.