Removed flipY and srgbToLinear, should happen outside/before tex-upload