more gfx shadowvar cleanups

This commit is contained in:
Azaezel 2018-03-13 21:25:45 -05:00
parent aad3578d1c
commit 33ebe34440
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");