Fix intel GLSL compiler spitting out "No errors." instead of an empty string like others do when there are no errors, causing log spam.

Liny 2015-02-25 23:54:22 -08:00
parent 3345d5f28d
commit 37d47ffbf0
1 changed files with 6 additions and 0 deletions

View File

@ -506,6 +506,12 @@ static std::string get_object_log(GLhandleARB ret)
res = std::string((char *)log);
delete[] log;
}
// <FS:LO> 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 = "";
}
// </FS:LO>
return res;
}