gsdx-ogl: Correct intel bad driver log.

Log should paste if either DSA or texture barrier aren't supported.
This commit is contained in:
lightningterror 2020-06-06 07:43:07 +02:00
parent e64ae9b6bf
commit d648755d75
1 changed files with 1 additions and 1 deletions

View File

@ -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"