GRAPHICS: Fix arguments order in drawRect
This commit is contained in:
parent
b31d5ac2b9
commit
56aa8f3448
1 changed files with 2 additions and 2 deletions
|
@ -247,8 +247,8 @@ void drawFilledRect(Common::Rect &rect, int color, void (*plotProc)(int, int, in
|
|||
void drawRect(Common::Rect &rect, int color, void (*plotProc)(int, int, int, void *), void *data) {
|
||||
drawHLine(rect.left, rect.right, rect.top, color, plotProc, data);
|
||||
drawHLine(rect.left, rect.right, rect.bottom, color, plotProc, data);
|
||||
drawVLine(rect.top, rect.bottom, rect.left, color, plotProc, data);
|
||||
drawVLine(rect.top, rect.bottom, rect.right, color, plotProc, data);
|
||||
drawVLine(rect.left, rect.top, rect.bottom, color, plotProc, data);
|
||||
drawVLine(rect.right, rect.top, rect.bottom, color, plotProc, data);
|
||||
}
|
||||
|
||||
// http://members.chello.at/easyfilter/bresenham.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue