--Bug fixes:

-Omit duplicate entries in error reports.
-Properly report missing palette file in command line programs.
This commit is contained in:
mfeemster
2015-12-10 20:19:41 -08:00
parent 49e2104fd2
commit aece4afc60
9 changed files with 184 additions and 182 deletions

View File

@ -330,7 +330,7 @@ bool OpenCLInfo::CheckCL(cl_int err, const char* name)
{
ostringstream ss;
ss << "ERROR: " << ErrorToStringCL(err) << " in " << name << "." << endl;
m_ErrorReport.push_back(ss.str());
AddToReport(ss.str());
}
return err == CL_SUCCESS;