Browse Source

Disable depth test. We do our own management.

legacy
Sam Hocevar sam 14 years ago
parent
commit
ea672c7768
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/video.cpp

+ 1
- 1
src/video.cpp View File

@@ -33,7 +33,7 @@ void Video::Setup(int width, int height)
glShadeModel(GL_SMOOTH);
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClearDepth(1.0);
glEnable(GL_DEPTH_TEST);
glDisable(GL_DEPTH_TEST);
glDepthFunc(GL_LEQUAL);
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);



Loading…
Cancel
Save