mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Minor addition to OpenGL code to prevent darker models
This commit is contained in:
@@ -594,6 +594,8 @@ sub Render {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||||
|
glFlush();
|
||||||
|
glFinish();
|
||||||
glEnable(GL_LIGHTING);
|
glEnable(GL_LIGHTING);
|
||||||
}
|
}
|
||||||
# draw objects
|
# draw objects
|
||||||
|
|||||||
Reference in New Issue
Block a user