From 828db2b23369545633c9e8293b8a89e68e7ac37b Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Tue, 17 Dec 2013 12:25:19 +0100 Subject: [PATCH] Blacklist ARB_blend_func_extended on Intel. See ppsspp issue #4867 --- gfx_es2/gl_state.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gfx_es2/gl_state.cpp b/gfx_es2/gl_state.cpp index f72e790960..3b34f10339 100644 --- a/gfx_es2/gl_state.cpp +++ b/gfx_es2/gl_state.cpp @@ -197,8 +197,9 @@ void CheckGLExtensions() { gl_extensions.NV_draw_texture = strstr(extString, "GL_NV_draw_texture") != 0; gl_extensions.ARB_blend_func_extended = strstr(extString, "GL_ARB_blend_func_extended") != 0; - if (!gl_extensions.VersionGEThan(3, 0, 0)) { + if (gl_extensions.gpuVendor == GPU_VENDOR_INTEL || !gl_extensions.VersionGEThan(3, 0, 0)) { // Force this extension to off on sub 3.0 OpenGL versions as it does not seem reliable + // Also on Intel, see https://github.com/hrydgard/ppsspp/issues/4867 gl_extensions.ARB_blend_func_extended = false; }