Un-break for compilers that don't yet support stringstream copying ala C++0x's MoveConstructible

This commit is contained in:
Shyotl
2011-12-01 02:21:23 -06:00
parent 8e7733b2ce
commit 0b5a2cd6a3

View File

@@ -764,6 +764,7 @@ GLhandleARB LLShaderMgr::loadShaderFile(const std::string& filename, S32 & shade
dumpObjectLog(ret);
error_str = get_object_log(ret);
#if LL_WINDOWS
std::stringstream ostr;
//dump shader source for debugging
for (GLuint i = 0; i < count; i++)
@@ -780,6 +781,7 @@ GLhandleARB LLShaderMgr::loadShaderFile(const std::string& filename, S32 & shade
}
LL_WARNS("ShaderLoading") << "\n" << ostr.str() << llendl;
#endif // LL_WINDOWS
glDeleteObjectARB(ret); //no longer need handle
ret = 0;
}