corrections for drawing rectangles
This commit is contained in:
parent
8b313e5121
commit
1b306cc6c2
2 changed files with 7 additions and 7 deletions
|
@ -719,7 +719,7 @@ void DriverGL::drawRectangle(PrimitiveObject *primitive) {
|
|||
if (primitive->isFilled()) {
|
||||
glBegin(GL_QUADS);
|
||||
} else {
|
||||
glBegin(GL_LINES);
|
||||
glBegin(GL_LINE_LOOP);
|
||||
}
|
||||
|
||||
glVertex2f(x1, y1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue