mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-08 11:35:07 +00:00
Reduce CPU usage in testgamecontroller
This commit is contained in:
@@ -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