GRIM: Fix drawing of rectangles
This commit is contained in:
parent
e715b0cbb7
commit
f44c9920e8
1 changed files with 2 additions and 2 deletions
|
@ -1360,8 +1360,8 @@ void GfxOpenGL::irisAroundRegion(int x1, int y1, int x2, int y2)
|
|||
void GfxOpenGL::drawRectangle(PrimitiveObject *primitive) {
|
||||
int x1 = primitive->getP1().x;
|
||||
int y1 = primitive->getP1().y;
|
||||
int x2 = primitive->getP2().x;
|
||||
int y2 = primitive->getP2().y;
|
||||
int x2 = primitive->getP2().x+1;
|
||||
int y2 = primitive->getP2().y+1;
|
||||
|
||||
const Color &color = *primitive->getColor();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue