forgot revert that too

This commit is contained in:
Pawel Kolodziejski 2009-06-27 10:24:51 +00:00
parent fc8251271d
commit bb1609f6e9

View file

@ -325,7 +325,7 @@ void GfxOpenGL::setShadowColor(byte r, byte g, byte b) {
void GfxOpenGL::set3DMode() { void GfxOpenGL::set3DMode() {
glMatrixMode(GL_MODELVIEW); glMatrixMode(GL_MODELVIEW);
glEnable(GL_DEPTH_TEST); glEnable(GL_DEPTH_TEST);
glDepthFunc(GL_ALWAYS); glDepthFunc(GL_LESS);
} }
void GfxOpenGL::drawModelFace(const Model::Face *face, float *vertices, float *vertNormals, float *textureVerts) { void GfxOpenGL::drawModelFace(const Model::Face *face, float *vertices, float *vertNormals, float *textureVerts) {