From 63a06295c61fba2b44c386acb50b297decdf1c1f Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Sun, 15 Mar 2020 23:42:09 -0500 Subject: [PATCH] wined3d: Feature level 10.0 does not require independent blend functions. Signed-off-by: Zebediah Figura Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- dlls/wined3d/adapter_gl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wined3d/adapter_gl.c b/dlls/wined3d/adapter_gl.c index 3a6d1bdd2be..2fd061b74a8 100644 --- a/dlls/wined3d/adapter_gl.c +++ b/dlls/wined3d/adapter_gl.c @@ -1311,7 +1311,6 @@ static enum wined3d_feature_level feature_level_from_caps(const struct wined3d_g if (gl_info->supported[WINED3D_GL_VERSION_3_2] && gl_info->supported[ARB_POLYGON_OFFSET_CLAMP] - && gl_info->supported[ARB_DRAW_BUFFERS_BLEND] && gl_info->supported[ARB_SAMPLER_OBJECTS]) { if (shader_model >= 5 @@ -1321,7 +1320,8 @@ static enum wined3d_feature_level feature_level_from_caps(const struct wined3d_g if (shader_model >= 4) { - if (gl_info->supported[ARB_TEXTURE_CUBE_MAP_ARRAY]) + if (gl_info->supported[ARB_TEXTURE_CUBE_MAP_ARRAY] + && gl_info->supported[ARB_DRAW_BUFFERS_BLEND]) return WINED3D_FEATURE_LEVEL_10_1; return WINED3D_FEATURE_LEVEL_10; }