Switched to SDL2 structures (texture, renderer)