|
@@ -1438,6 +1438,7 @@ GL_RenderReadPixels(SDL_Renderer * renderer, const SDL_Rect * rect,
|
|
if (!convert_format(data, temp_format, &internalFormat, &format, &type)) {
|
|
if (!convert_format(data, temp_format, &internalFormat, &format, &type)) {
|
|
return SDL_SetError("Texture format %s not supported by OpenGL",
|
|
return SDL_SetError("Texture format %s not supported by OpenGL",
|