more gfx shadowvar cleanups

This commit is contained in:
Azaezel 2018-03-13 21:25:45 -05:00
parent 577e16ec10
commit 68da3176c9
4 changed files with 9 additions and 9 deletions

View file

@ -350,7 +350,7 @@ void DeferredBumpFeatGLSL::processPix( Vector<ShaderComponent*> &componentList,
if (fd.features.hasFeature(MFT_DetailNormalMap))
{
Var *bumpMap = (Var*)LangElement::find("detailBumpMap");
bumpMap = (Var*)LangElement::find("detailBumpMap");
if (!bumpMap) {
bumpMap = new Var;
bumpMap->setType("sampler2D");