diff options
author | Dave Parks <davep@lindenlab.com> | 2010-04-23 00:38:10 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2010-04-23 00:38:10 -0500 |
commit | 95ca4315e3791fd9748edb5fe0d76719de6854ae (patch) | |
tree | bc70578e313116dfd4636bbb9f412f6e16a7367a /indra/llrender | |
parent | 65406d9e70af3aed5a08fcced89d6905bc22c353 (diff) |
Fix for stupid shader loading mistake.
Diffstat (limited to 'indra/llrender')
-rw-r--r-- | indra/llrender/llshadermgr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp index 17fc7fe120..0f54ebeb69 100644 --- a/indra/llrender/llshadermgr.cpp +++ b/indra/llrender/llshadermgr.cpp @@ -321,7 +321,7 @@ void LLShaderMgr::dumpObjectLog(GLhandleARB ret, BOOL warns) GLhandleARB LLShaderMgr::loadShaderFile(const std::string& filename, S32 & shader_level, GLenum type) { - GLenum error; + GLenum error = GL_NO_ERROR; if (gDebugGL) { error = glGetError(); |