wined3d: Feature level 10.0 does not require independent blend functions.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2020-03-15 23:42:09 -05:00 committed by Alexandre Julliard
parent 8133de6479
commit 63a06295c6
1 changed files with 2 additions and 2 deletions

View File

@ -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] if (gl_info->supported[WINED3D_GL_VERSION_3_2]
&& gl_info->supported[ARB_POLYGON_OFFSET_CLAMP] && gl_info->supported[ARB_POLYGON_OFFSET_CLAMP]
&& gl_info->supported[ARB_DRAW_BUFFERS_BLEND]
&& gl_info->supported[ARB_SAMPLER_OBJECTS]) && gl_info->supported[ARB_SAMPLER_OBJECTS])
{ {
if (shader_model >= 5 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 (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_1;
return WINED3D_FEATURE_LEVEL_10; return WINED3D_FEATURE_LEVEL_10;
} }