GRAPHICS: Fix Rect drawing in primitives

This commit is contained in:
Eugene Sandulenko 2022-07-14 14:40:18 +02:00
parent a2f1577170
commit f21d5582b0
No known key found for this signature in database
GPG key ID: 014D387312D34F08

View file

@ -255,7 +255,7 @@ void drawRect(Common::Rect &rect, int color, void (*plotProc)(int, int, int, voi
drawHLine(rect.left, rect.right - 1, rect.top, color, plotProc, data);
drawHLine(rect.left, rect.right - 1, rect.bottom - 1, color, plotProc, data);
drawVLine(rect.left, rect.top, rect.bottom - 1, color, plotProc, data);
drawVLine(rect.right, rect.top, rect.bottom - 1, color, plotProc, data);
drawVLine(rect.right - 1, rect.top, rect.bottom - 1, color, plotProc, data);
}
/**