New answers tagged sdl
0
The CPU is working the most time on the bucle that wait to the Next frame.
You must use a invalidate rect o know that you can do much more without use more CPU
Top 50 recent answers are included
Related Tags
sdl × 409c++ × 224
opengl × 90
sdl2 × 57
c × 38
textures × 21
rendering × 21
2d × 20
collision-detection × 15
game-loop × 14
input × 12
linux × 11
movement × 10
sprites × 9
graphics × 9
physics × 8
animation × 8
windows × 8
keyboard × 8
pixel × 8
c# × 7
macos × 7
android × 6
software-engineering × 6
image × 6