- 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

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;