corrections for drawing rectangles

This commit is contained in:
Pawel Kolodziejski 2005-04-09 05:03:39 +00:00
parent 8b313e5121
commit 1b306cc6c2
2 changed files with 7 additions and 7 deletions

View file

@ -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);