summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruslantproductengine <ruslantproductengine@lindenlab.com>2014-07-24 00:38:18 +0300
committerruslantproductengine <ruslantproductengine@lindenlab.com>2014-07-24 00:38:18 +0300
commitf40dd76521c9ddab1fcd3ddca029802cf3bdd99b (patch)
treef95763859325a972486d18f23b926daee3784581
parentc4433e4fc8b35b3403503a9e5062e169c35258f5 (diff)
MAINT-4092 FIXED Prim faces with opaque diffuse maps, with material set to ALPHA_MODE_BLEND, do not render when ALM is enabled : replace nullptr to NULL (please use modern compilers)
-rwxr-xr-xindra/newview/llvovolume.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index c25722b635..4295ea02d5 100755
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -2045,7 +2045,7 @@ S32 LLVOVolume::setTEMaterialParams(const U8 te, const LLMaterialPtr pMaterialPa
if (pMaterialParams && getTEImage(te) && 3 == getTEImage(te)->getComponents() && pMaterialParams->getDiffuseAlphaMode())
{
LLViewerObject::setTEMaterialID(te, LLMaterialID::null);
- res = LLViewerObject::setTEMaterialParams(te, nullptr);
+ res = LLViewerObject::setTEMaterialParams(te, NULL);
}
else
{