mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 17:41:19 +00:00
- Made previous condition more clear.
This commit is contained in:
parent
d24d25ef55
commit
e1c521f4ce
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue