mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 16:41:22 +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)
|
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;
|
||||||
|
|
Loading…
Reference in a new issue