BlitRect: when calling BlitRect adjust the sizes down by 1 pixel in each dimension (which saves blittng up to 8 additional pixels in each dimension)

This commit is contained in:
dwsJason 2018-12-01 22:04:43 -05:00
parent 2e6ba4dd14
commit a09b3557c1
1 changed files with 1 additions and 1 deletions

View File

@ -555,7 +555,7 @@ sysvid_update(rect_t *rects)
rects->height
);
#endif
result = BlitRect(rects->x, rects->y, rects->width, rects->height);
result = BlitRect(rects->x, rects->y, rects->width-1, rects->height-1);
rects = rects->next;
}
#endif