- Made previous condition more clear.

This commit is contained in:
drfrag666 2018-11-22 11:15:34 +01:00
parent d24d25ef55
commit e1c521f4ce

View file

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