diff --git a/src/modules/graphics/opengl/Graphics.cpp b/src/modules/graphics/opengl/Graphics.cpp index 760229a98..d8eb0b530 100644 --- a/src/modules/graphics/opengl/Graphics.cpp +++ b/src/modules/graphics/opengl/Graphics.cpp @@ -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; }