From f9a59d22dbd2e28ed39c92032eaf2ad397521416 Mon Sep 17 00:00:00 2001 From: Bryan Hoyle Date: Sun, 12 Aug 2012 15:15:17 -0400 Subject: Revert "minor renderer changes, brush still not working" This reverts commit 1b2e0e68bd62fd429724e691d6318872af3f5dae. diff --git a/src/graphics/OpenGLDrawMethods.inl b/src/graphics/OpenGLDrawMethods.inl index 671d549..37f3002 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_LOOP); + glBegin(GL_LINE_STRIP); glVertex2i(x, y); glVertex2i(x+width, y); glVertex2i(x+width, y+height); -- cgit v0.9.2-21-gd62e