minor renderer changes, brush still not working
This commit is contained in:
parent
90f71f3b11
commit
1b2e0e68bd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user