Explorar el Código

Disable depth test. We do our own management.

legacy
Sam Hocevar sam hace 14 años
padre
commit
ea672c7768
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/video.cpp

+ 1
- 1
src/video.cpp Ver fichero

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



Cargando…
Cancelar
Guardar