main: improved SDL drawing method

Vastly reduces CPU activity now. Didn't know SDL had its own function to call OGL to swap buffers.