Explorar o código

Update terrFeatureGLSL.cpp

Brian Roberts %!s(int64=7) %!d(string=hai) anos
pai
achega
6ba442bf07
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      Engine/source/terrain/glsl/terrFeatureGLSL.cpp

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

@@ -927,9 +927,9 @@ void TerrainNormalMapFeatGLSL::processVert(  Vector<ShaderComponent*> &component
 void TerrainNormalMapFeatGLSL::processPix(   Vector<ShaderComponent*> &componentList, 
                                              const MaterialFeatureData &fd )
 {
-	// We only need to process normals during the deferred.
-	if (!fd.features.hasFeature(MFT_DeferredConditioner))
-		return;
+   // We only need to process normals during the deferred.
+   if (!fd.features.hasFeature(MFT_DeferredConditioner))
+      return;
 
    MultiLine *meta = new MultiLine;