src/render/SDL_render.c
changeset 7898 72af77fc6683
parent 7770 28031e0042b2
child 8093 b43765095a6f
child 8543 b9dd3cf38585
equal deleted inserted replaced
7897:622d75108e60 7898:72af77fc6683
   346     } else if (renderer->window) {
   346     } else if (renderer->window) {
   347         SDL_GetWindowSize(renderer->window, w, h);
   347         SDL_GetWindowSize(renderer->window, w, h);
   348         return 0;
   348         return 0;
   349     } else {
   349     } else {
   350         /* This should never happen */
   350         /* This should never happen */
   351         SDL_SetError("Renderer doesn't support querying output size");
   351         return SDL_SetError("Renderer doesn't support querying output size");
   352         return -1;
       
   353     }
   352     }
   354 }
   353 }
   355 
   354 
   356 static SDL_bool
   355 static SDL_bool
   357 IsSupportedFormat(SDL_Renderer * renderer, Uint32 format)
   356 IsSupportedFormat(SDL_Renderer * renderer, Uint32 format)