From 4859c3d30170d8c5814b67081406347cefee82e1 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Thu, 22 Nov 2018 02:02:37 -0500 Subject: [PATCH] - fix inverted logic of Intel check --- src/gl/shaders/gl_shader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/shaders/gl_shader.cpp b/src/gl/shaders/gl_shader.cpp index 0af60e4126..cc9811622b 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;