Commit fc86a602 authored by Sunny Sachanandani's avatar Sunny Sachanandani

Fixed drawing rectangles. X is evil!

parent d0ac0653
......@@ -1582,8 +1582,8 @@ X11_RenderDrawRects(SDL_Renderer * renderer, const SDL_Rect ** rects, int count)
xrect->x = (short)rect.x;
xrect->y = (short)rect.y;
xrect->width = (unsigned short)rect.w;
xrect->height = (unsigned short)rect.h;
xrect->width = (unsigned short)rect.w - 1;
xrect->height = (unsigned short)rect.h - 1;
++xrect;
++xcount;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment