SDL_PollEvent busy‑wait causing high CPU usage in idle loops
When an SDL application runs its main loop with SDL_PollEvent while no input is pending, the function returns immediately and the loop can spin continuously, potentially consuming a full CPU core. This behavior may hide performance problems in rendering or audio subsystems because the observed CPU usage is dominated by the event‑polling loop itself. Develope