Update sdl_engine.cpp