minor renderer changes, brush still not working

This commit is contained in:
Bryan Hoyle 2012-08-12 15:11:17 -04:00
parent 90f71f3b11
commit 1b2e0e68bd

View File

@ -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);