Browse Source

Fixed erroneous capitalization.

Lasse Öörni 13 years ago
parent
commit
b35fed22ce
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Engine/Graphics/Technique.cpp

+ 2 - 2
Engine/Graphics/Technique.cpp

@@ -59,7 +59,7 @@ static const String blendModeNames[] =
     ""
 };
 
-static const String CompareModeNames[] =
+static const String compareModeNames[] =
 {
     "always",
     "equal",
@@ -188,7 +188,7 @@ bool Technique::Load(Deserializer& source)
                 if (depthTest == "false")
                     newPass->SetDepthTestMode(CMP_ALWAYS);
                 else
-                    newPass->SetDepthTestMode((CompareMode)GetStringListIndex(depthTest, CompareModeNames, CMP_LESS));
+                    newPass->SetDepthTestMode((CompareMode)GetStringListIndex(depthTest, compareModeNames, CMP_LESS));
             }
             
             if (passElem.HasAttribute("depthwrite"))