src/video/x11/SDL_x11render.c
changeset 4615 789483a20081
parent 4614 a17de6a8f796
child 4616 05eb4a07e5e3
equal deleted inserted replaced
4614:a17de6a8f796 4615:789483a20081
  1580                 continue;
  1580                 continue;
  1581             }
  1581             }
  1582 
  1582 
  1583             xrect->x = (short)rect.x;
  1583             xrect->x = (short)rect.x;
  1584             xrect->y = (short)rect.y;
  1584             xrect->y = (short)rect.y;
  1585             xrect->width = (unsigned short)rect.w;
  1585             xrect->width = (unsigned short)rect.w - 1;
  1586             xrect->height = (unsigned short)rect.h;
  1586             xrect->height = (unsigned short)rect.h - 1;
  1587             ++xrect;
  1587             ++xrect;
  1588             ++xcount;
  1588             ++xcount;
  1589 
  1589 
  1590             if (data->makedirty) {
  1590             if (data->makedirty) {
  1591                 SDL_AddDirtyRect(&data->dirty, &rect);
  1591                 SDL_AddDirtyRect(&data->dirty, &rect);