MISC: Fix typo in comment

This commit is contained in:
Dries Harnie 2014-05-05 15:00:39 +02:00
parent 2284c5c9ed
commit 9ec4a897ee
2 changed files with 2 additions and 2 deletions

View File

@ -101,7 +101,7 @@ GfxOpenGL::GfxOpenGL() : _smushNumTex(0),
_dimFragProgram(0), _maxLights(0), _storedDisplay(NULL),
_emergFont(0), _alpha(1.f) {
g_driver = this;
// GL_LEQUAL as glDepthFucn ensures that subsequent drawing attempts for
// GL_LEQUAL as glDepthFunc ensures that subsequent drawing attempts for
// the same triangles are not ignored by the depth test.
// That's necessary for EMI where some models have multiple faces which
// refer to the same vertices. The first face is usually using the

View File

@ -344,7 +344,7 @@ byte *GfxOpenGLS::setupScreen(int screenW, int screenH, bool fullscreen) {
_screenSize = _screenWidth * _screenHeight * 4;
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
if (g_grim->getGameType() == GType_MONKEY4) {
// GL_LEQUAL as glDepthFucn ensures that subsequent drawing attempts for
// GL_LEQUAL as glDepthFunc ensures that subsequent drawing attempts for
// the same triangles are not ignored by the depth test.
// That's necessary for EMI where some models have multiple faces which
// refer to the same vertices. The first face is usually using the