mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 14:34:26 +08:00
Minor addition to OpenGL code to prevent darker models
This commit is contained in:
parent
16945dad70
commit
ac2b6de62b
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user