diff options
author | Oz Linden <oz@lindenlab.com> | 2011-05-05 19:44:47 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-05-05 19:44:47 -0400 |
commit | a08c362d88487a390de340d75c3394c8800546be (patch) | |
tree | 1d4a25d8df0a07b85f135cb6359b4d6c8f37fe76 /indra/newview/llviewershadermgr.cpp | |
parent | def9f9290e661e6a35b7b255eb71b6e2767fdea0 (diff) | |
parent | 0c7f003bfc3bb9f74b0194ce18861514efe77066 (diff) |
merge up latest viewer-development
Diffstat (limited to 'indra/newview/llviewershadermgr.cpp')
-rw-r--r-- | indra/newview/llviewershadermgr.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/indra/newview/llviewershadermgr.cpp b/indra/newview/llviewershadermgr.cpp index c1abead36e..09325a8c1b 100644 --- a/indra/newview/llviewershadermgr.cpp +++ b/indra/newview/llviewershadermgr.cpp @@ -1492,6 +1492,16 @@ std::string LLViewerShaderMgr::getShaderDirPrefix(void) void LLViewerShaderMgr::updateShaderUniforms(LLGLSLShader * shader) { - LLWLParamManager::instance()->updateShaderUniforms(shader); - LLWaterParamManager::instance()->updateShaderUniforms(shader); + LLWLParamManager::getInstance()->updateShaderUniforms(shader); + LLWaterParamManager::getInstance()->updateShaderUniforms(shader); +} + +LLViewerShaderMgr::shader_iter LLViewerShaderMgr::beginShaders() const +{ + return mShaderList.begin(); +} + +LLViewerShaderMgr::shader_iter LLViewerShaderMgr::endShaders() const +{ + return mShaderList.end(); } |