src/video/SDL_video.c
changeset 3540 3ad09fdbfcb0
parent 3536 0267b8b1595c
child 3570 7812d3e9564e
equal deleted inserted replaced
3539:f2846bf19360 3540:3ad09fdbfcb0
  2583     /* Check for NULL rect, which means fill entire window */
  2583     /* Check for NULL rect, which means fill entire window */
  2584     for (i = 0; i < count; ++i) {
  2584     for (i = 0; i < count; ++i) {
  2585         if (rects[i] == NULL) {
  2585         if (rects[i] == NULL) {
  2586             SDL_Window *window;
  2586             SDL_Window *window;
  2587             SDL_Rect full_rect;
  2587             SDL_Rect full_rect;
  2588             SDL_Rect *rect;
  2588             const SDL_Rect *rect;
  2589 
  2589 
  2590             window = SDL_GetWindowFromID(renderer->window);
  2590             window = SDL_GetWindowFromID(renderer->window);
  2591             full_rect.x = 0;
  2591             full_rect.x = 0;
  2592             full_rect.y = 0;
  2592             full_rect.y = 0;
  2593             full_rect.w = window->w;
  2593             full_rect.w = window->w;