Commits

rude  committed 7d18a91

Fixed size of filled rects.

  • Participants
  • Parent commits 57c30b3

Comments (0)

Files changed (1)

File src/modules/graphics/opengl/Graphics.cpp

 		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;
 		}