Do rendering via a renderer instead of sdl