Fixed spinning at a very high framerate
This commit is contained in:
1 parent
47f2373dc1
commit
6bcf2c1521
1 file changed
+1
@@ -259,6 +259,7 @@ loop(void *arg)
|
||||
}
|
||||
}
|
||||
|
||||
SDL_Delay(16);
|
||||
SDL_RenderPresent(screen);
|
||||
|
||||
#ifdef __EMSCRIPTEN__
|
||||
|
||||
Reference in new issue
Block a user