From 37d47ffbf06d366a562124212d2347194ea76d8b Mon Sep 17 00:00:00 2001 From: Liny Date: Wed, 25 Feb 2015 23:54:22 -0800 Subject: [PATCH] Fix intel GLSL compiler spitting out "No errors." instead of an empty string like others do when there are no errors, causing log spam. --- indra/llrender/llshadermgr.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp index 1e857f8b0c..c73c46b3c2 100755 --- a/indra/llrender/llshadermgr.cpp +++ b/indra/llrender/llshadermgr.cpp @@ -506,6 +506,12 @@ static std::string get_object_log(GLhandleARB ret) res = std::string((char *)log); delete[] log; } + // Fix intel GLSL compiler spitting out "No errors." instead of an empty string like others do when there are no errors, causing log spam. + if(res == "No errors.") + { + res = ""; + } + // return res; }