Render to SDL instead of bmp. Broken but works (does not crash)