Skip to content
Snippets Groups Projects
Commit cd51f279 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

trying to fix flicker when drawing zoom overlay

parent c6726b87
No related branches found
No related tags found
No related merge requests found
......@@ -134,6 +134,7 @@ void openglWindow::draw()
glLoadIdentity();
glColor3d(1., 1., 1.);
glDisable(GL_DEPTH_TEST);
glDrawBuffer(GL_FRONT_AND_BACK);
if(selectionMode && CTX::instance()->mouseSelection){
glEnable(GL_LINE_STIPPLE);
glLineStipple(1, 0x0F0F);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment