diff --git a/src/gl/shaders/gl_shader.cpp b/src/gl/shaders/gl_shader.cpp index 0af60e412..cc9811622 100644 --- a/src/gl/shaders/gl_shader.cpp +++ b/src/gl/shaders/gl_shader.cpp @@ -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;