summaryrefslogtreecommitdiff
path: root/indra/newview/llviewershadermgr.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2015-10-21 16:47:03 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2015-10-21 16:47:03 -0400
commitd365aa10f16c022970cefbfac8651fe01b5a9de8 (patch)
tree0549a07f81aada34f098ec66ce3397602efa6ee8 /indra/newview/llviewershadermgr.cpp
parentbfa3f83a2cf5d4ca408e7f045cd806a7f5133d9f (diff)
SL-234 WIP - moved LLSkinningUtil funcs to separate class/files. Remap weights where needed. Warn that related debug settings require restart to take effect.
Diffstat (limited to 'indra/newview/llviewershadermgr.cpp')
-rwxr-xr-xindra/newview/llviewershadermgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewershadermgr.cpp b/indra/newview/llviewershadermgr.cpp
index b1e521f193..3e0cec0f09 100755
--- a/indra/newview/llviewershadermgr.cpp
+++ b/indra/newview/llviewershadermgr.cpp
@@ -44,7 +44,7 @@
#include "llvosky.h"
#include "llrender.h"
#include "lljoint.h"
-#include "lldrawpoolavatar.h"
+#include "llskinningutil.h"
#ifdef LL_RELEASE_FOR_DOWNLOAD
#define UNIFORM_ERRS LL_WARNS_ONCE("Shader")
@@ -876,7 +876,7 @@ BOOL LLViewerShaderMgr::loadBasicShaders()
boost::unordered_map<std::string, std::string> attribs;
attribs["MAX_JOINTS_PER_MESH_OBJECT"] =
- boost::lexical_cast<std::string>(LLDrawPoolAvatar::getMaxJointCount());
+ boost::lexical_cast<std::string>(LLSkinningUtil::getMaxJointCount());
// We no longer have to bind the shaders to global glhandles, they are automatically added to a map now.
for (U32 i = 0; i < shaders.size(); i++)