Selaa lähdekoodia

Update terrFeatureGLSL.cpp

Brian Roberts 7 vuotta sitten
vanhempi
commit
fb25d9c5a1
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  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;