From 806d085ee9bfef738cd9375f1869904dfa1890dd Mon Sep 17 00:00:00 2001 From: rude Date: Wed, 3 Mar 2010 19:15:09 +0100 Subject: [PATCH] Fixed size of filled rects. --- src/modules/graphics/opengl/Graphics.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }