Turned off back-face culling in examples, as this makes it easier to view certain shapes such as heightmaps.

This commit is contained in:
David Williams 2014-05-25 21:45:28 +02:00
parent 499db6a185
commit ec08b28002

View File

@ -45,7 +45,6 @@ void OpenGLWidget::initializeGL()
glClearColor(0.0f, 0.0f, 0.0f, 0.0f); glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
glClearDepth(1.0f); glClearDepth(1.0f);
glEnable(GL_CULL_FACE);
glEnable(GL_DEPTH_TEST); glEnable(GL_DEPTH_TEST);
glDepthMask(GL_TRUE); glDepthMask(GL_TRUE);
glDepthFunc(GL_LEQUAL); glDepthFunc(GL_LEQUAL);