summaryrefslogtreecommitdiff
path: root/src/graphics
diff options
context:
space:
mode:
authorBryan Hoyle <starfoxprime@gmail.com>2012-08-12 19:15:17 (GMT)
committer Bryan Hoyle <starfoxprime@gmail.com>2012-08-12 19:15:17 (GMT)
commitf9a59d22dbd2e28ed39c92032eaf2ad397521416 (patch)
tree54bc2cca07a27ddaf56654201d2ec5948a4fcb8d /src/graphics
parent44645c93ee6a56c40315454afdc52cf86c57c209 (diff)
downloadpowder-f9a59d22dbd2e28ed39c92032eaf2ad397521416.zip
powder-f9a59d22dbd2e28ed39c92032eaf2ad397521416.tar.gz
Revert "minor renderer changes, brush still not working"
This reverts commit 1b2e0e68bd62fd429724e691d6318872af3f5dae.
Diffstat (limited to 'src/graphics')
-rw-r--r--src/graphics/OpenGLDrawMethods.inl2
1 files changed, 1 insertions, 1 deletions
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);