- fix inverted logic of Intel check

This commit is contained in:
Rachael Alexanderson 2018-11-22 02:02:37 -05:00
parent b4aa4bf0ac
commit 4859c3d301
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ bool IsShaderCacheActive()
if (firstcall)
{
const char *vendor = (const char *)glGetString(GL_VENDOR);
active = strstr(vendor, "Intel") == nullptr;
active = !(strstr(vendor, "Intel") == nullptr);
firstcall = false;
}
return active;