Moved SDL flip surface function to SDL.cpp