Fix wrong glEnable call
This commit is contained in:
parent
455ad29e4c
commit
62cb72091d
@ -88,7 +88,7 @@ void DrawGLScene()
|
|||||||
glLoadIdentity();
|
glLoadIdentity();
|
||||||
glTranslated(-1 , -1, -5);
|
glTranslated(-1 , -1, -5);
|
||||||
glDepthFunc(GL_LESS);
|
glDepthFunc(GL_LESS);
|
||||||
glEnable(GL_DEPTH_FUNC);
|
glEnable(GL_DEPTH_TEST);
|
||||||
|
|
||||||
for (int i = 0; i < 5; i++) {
|
for (int i = 0; i < 5; i++) {
|
||||||
glTranslated(0.5, 0, -0.2);
|
glTranslated(0.5, 0, -0.2);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user