mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 14:22:54 +02:00
Minor addition to OpenGL code to prevent darker models
This commit is contained in:
1 parent
16945dad70
commit
ac2b6de62b
1 file changed
+2
@@ -594,6 +594,8 @@ sub Render {
|
||||
}
|
||||
}
|
||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||
glFlush();
|
||||
glFinish();
|
||||
glEnable(GL_LIGHTING);
|
||||
}
|
||||
# draw objects
|
||||
|
||||
Reference in new issue
Block a user