Parcourir la source

Fix terrFeatureGLSL.cpp for GCC.

LuisAntonRebollo il y a 11 ans
Parent
commit
fb08fafc9c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Engine/source/terrain/glsl/terrFeatureGLSL.cpp

+ 1 - 1
Engine/source/terrain/glsl/terrFeatureGLSL.cpp

@@ -474,7 +474,7 @@ void TerrainDetailMapFeatGLSL::processPix(   Vector<ShaderComponent*> &component
    }
 
    Var *baseColor = (Var*)LangElement::find("baseColor");
-   Var *outColor = (Var*)LangElement::find(getOutputTargetVarName(OutputTarget::DefaultTarget));
+   Var *outColor = (Var*)LangElement::find(getOutputTargetVarName(DefaultTarget));
 
    if (!outColor)
    {