diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-06-10 02:54:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-06-10 02:54:56 +0400 |
commit | 192037960d0b0f104aee6a8652bf1f410d880b1f (patch) | |
tree | 4606e5c4f8f09bdb825cc0dc4ed1f4e492f69ca2 /source/gameengine/GamePlayer/common | |
parent | fd1faa55425db3097e7bc6ae533dcca564a677cb (diff) |
error in variable name, not sure how this even compiled
Diffstat (limited to 'source/gameengine/GamePlayer/common')
-rw-r--r-- | source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp b/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp index 09dd14172c8..c2f15aefe16 100644 --- a/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp +++ b/source/gameengine/GamePlayer/common/GPC_PolygonMaterial.cpp @@ -166,7 +166,7 @@ int set_tpage(MTFace *tface) glDisable ( GL_ALPHA_TEST ); /* glBlendEquationEXT(GL_FUNC_ADD_EXT); */ } - else if (alphamode==TF_CLIP){ + else if (fAlphamode==TF_CLIP){ glDisable(GL_BLEND); glEnable ( GL_ALPHA_TEST ); glAlphaFunc(GL_GREATER, 0.5f); |