Reduce CPU usage in testgamecontroller
This commit is contained in:
1 parent
9e5cbf034a
commit
0687128c96
1 file changed
+1
-1
@@ -508,7 +508,7 @@ loop(void *arg)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
SDL_Delay(16);
|
||||||
SDL_RenderPresent(screen);
|
SDL_RenderPresent(screen);
|
||||||
|
|
||||||
#ifdef __EMSCRIPTEN__
|
#ifdef __EMSCRIPTEN__
|
||||||
|
|||||||
Reference in new issue
Block a user