Update terrFeatureGLSL.cpp

This commit is contained in:
Brian Roberts 2018-10-29 13:21:42 -05:00 committed by GitHub
parent fe2b3aef1a
commit fb25d9c5a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;