Fixed size of filled rects.

This commit is contained in:
rude
2010-03-03 19:15:09 +01:00
parent 02aaeba599
commit 806d085ee9
+3 -3
View File
@@ -936,9 +936,9 @@ namespace opengl
case DRAW_FILL:
glBegin(GL_QUADS);
glVertex2f(x, y);
glVertex2f(x, y+h-1);
glVertex2f(x+w-1, y+h-1);
glVertex2f(x+w-1, y);
glVertex2f(x, y+h);
glVertex2f(x+w, y+h);
glVertex2f(x+w, y);
glEnd();
break;
}