summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBryan Hoyle <starfoxprime@gmail.com>2012-08-12 19:11:17 (GMT)
committer Bryan Hoyle <starfoxprime@gmail.com>2012-08-12 19:11:17 (GMT)
commit1b2e0e68bd62fd429724e691d6318872af3f5dae (patch)
tree207cd33b7abebaa15bfb5b01a8b69cc69e87fb13 /src
parent90f71f3b11373bda502405856062803111f247d5 (diff)
downloadpowder-1b2e0e68bd62fd429724e691d6318872af3f5dae.zip
powder-1b2e0e68bd62fd429724e691d6318872af3f5dae.tar.gz
minor renderer changes, brush still not working
Diffstat (limited to 'src')
-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 37f3002..671d549 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);