From 1b2e0e68bd62fd429724e691d6318872af3f5dae Mon Sep 17 00:00:00 2001 From: Bryan Hoyle Date: Sun, 12 Aug 2012 15:11:17 -0400 Subject: [PATCH] minor renderer changes, brush still not working --- src/graphics/OpenGLDrawMethods.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/OpenGLDrawMethods.inl b/src/graphics/OpenGLDrawMethods.inl index 37f3002c7..671d549aa 100644 --- a/src/graphics/OpenGLDrawMethods.inl +++ b/src/graphics/OpenGLDrawMethods.inl @@ -202,7 +202,7 @@ void PIXELMETHODS_CLASS::xor_rect(int x, int y, int width, int height) //glEnable(GL_LINE_SMOOTH); glLogicOp(GL_XOR); glColor4f(1.0f, 1.0f, 1.0f, 1.0f); - glBegin(GL_LINE_STRIP); + glBegin(GL_LINE_LOOP); glVertex2i(x, y); glVertex2i(x+width, y); glVertex2i(x+width, y+height);