From d648755d7554d6b8d79b8cda4bf705e427e41076 Mon Sep 17 00:00:00 2001 From: lightningterror Date: Sat, 6 Jun 2020 07:43:07 +0200 Subject: [PATCH] gsdx-ogl: Correct intel bad driver log. Log should paste if either DSA or texture barrier aren't supported. --- plugins/GSdx/Renderers/OpenGL/GLLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GSdx/Renderers/OpenGL/GLLoader.cpp b/plugins/GSdx/Renderers/OpenGL/GLLoader.cpp index 20fc463763..de0a475cb7 100644 --- a/plugins/GSdx/Renderers/OpenGL/GLLoader.cpp +++ b/plugins/GSdx/Renderers/OpenGL/GLLoader.cpp @@ -315,7 +315,7 @@ namespace GLLoader { "https://github.com/PCSX2/pcsx2/wiki/OpenGL-and-AMD-GPUs---All-you-need-to-know\n"); } - if (vendor_id_intel && !GLExtension::Has("GL_ARB_texture_barrier") && !GLExtension::Has("GL_ARB_direct_state_access")) { + if (vendor_id_intel && (!GLExtension::Has("GL_ARB_texture_barrier") || !GLExtension::Has("GL_ARB_direct_state_access"))) { // Assume that driver support is good when texture barrier and DSA is supported, disable the log then. fprintf_once(stderr, "The OpenGL renderer is inefficient on Intel GPUs due to an inefficient driver.\n" "Check out the link below for further information.\n"