summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpooltree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/lldrawpooltree.cpp')
-rw-r--r--indra/newview/lldrawpooltree.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/lldrawpooltree.cpp b/indra/newview/lldrawpooltree.cpp
index 170669955c..350ad6a652 100644
--- a/indra/newview/lldrawpooltree.cpp
+++ b/indra/newview/lldrawpooltree.cpp
@@ -17,6 +17,7 @@
#include "llvotree.h"
#include "pipeline.h"
#include "llviewercamera.h"
+#include "llglslshader.h"
S32 LLDrawPoolTree::sDiffTex = 0;
@@ -267,5 +268,5 @@ LLColor3 LLDrawPoolTree::getDebugColor() const
S32 LLDrawPoolTree::getMaterialAttribIndex()
{
- return gPipeline.mObjectSimpleProgram.mAttribute[LLPipeline::GLSL_MATERIAL_COLOR];
+ return gObjectSimpleProgram.mAttribute[LLShaderMgr::MATERIAL_COLOR];
}