mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- fix inverted logic of Intel check
This commit is contained in:
parent
b4aa4bf0ac
commit
4859c3d301
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue