mirror of https://github.com/encounter/SDL.git
Reduce CPU usage in testgamecontroller
This commit is contained in:
parent
9e5cbf034a
commit
0687128c96
|
@ -508,7 +508,7 @@ loop(void *arg)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
SDL_Delay(16);
|
||||||
SDL_RenderPresent(screen);
|
SDL_RenderPresent(screen);
|
||||||
|
|
||||||
#ifdef __EMSCRIPTEN__
|
#ifdef __EMSCRIPTEN__
|
||||||
|
|
Loading…
Reference in New Issue