- fix inverted logic of Intel check

This commit is contained in:
Rachael Alexanderson 2018-11-22 02:02:37 -05:00 committed by drfrag666
parent edd58e6abf
commit d24d25ef55

View file

@ -156,7 +156,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;