Parcourir la source

Disable depth test. We do our own management.

legacy
Sam Hocevar sam il y a 14 ans
Parent
révision
ea672c7768
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/video.cpp

+ 1
- 1
src/video.cpp Voir le fichier

@@ -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);



Chargement…
Annuler
Enregistrer