summaryrefslogtreecommitdiff
path: root/indra/llrender/llshadermgr.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-04-23 00:38:10 -0500
committerDave Parks <davep@lindenlab.com>2010-04-23 00:38:10 -0500
commit95ca4315e3791fd9748edb5fe0d76719de6854ae (patch)
treebc70578e313116dfd4636bbb9f412f6e16a7367a /indra/llrender/llshadermgr.cpp
parent65406d9e70af3aed5a08fcced89d6905bc22c353 (diff)
Fix for stupid shader loading mistake.
Diffstat (limited to 'indra/llrender/llshadermgr.cpp')
-rw-r--r--indra/llrender/llshadermgr.cpp2
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();