diff options
author | Leslie Linden <leslie@lindenlab.com> | 2011-08-22 15:58:12 -0700 |
---|---|---|
committer | Leslie Linden <leslie@lindenlab.com> | 2011-08-22 15:58:12 -0700 |
commit | 764b7a1ec0a92bd9948010ac76a7c4362d66acf6 (patch) | |
tree | 89598cbdefb21eb85b0ba7efe308ae30dad0bae8 /indra/llrender | |
parent | 90ebaeef9b629cb63e7a94a526478f2e340ff439 (diff) |
Mac build fixes.
Diffstat (limited to 'indra/llrender')
-rw-r--r-- | indra/llrender/llshadermgr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp index 2334435644..b487cda4ef 100644 --- a/indra/llrender/llshadermgr.cpp +++ b/indra/llrender/llshadermgr.cpp @@ -704,6 +704,7 @@ GLhandleARB LLShaderMgr::loadShaderFile(const std::string& filename, S32 & shade LL_WARNS("ShaderLoading") << "GLSL Compilation Error: (" << error << ") in " << filename << LL_ENDL; dumpObjectLog(ret); +#if LL_WINDOWS std::stringstream ostr; //dump shader source for debugging for (GLuint i = 0; i < count; i++) @@ -719,6 +720,7 @@ GLhandleARB LLShaderMgr::loadShaderFile(const std::string& filename, S32 & shade } LL_WARNS("ShaderLoading") << "\n" << ostr.str() << llendl; +#endif // LL_WINDOWS ret = 0; } |