Zebediah Figura : wined3d: Feature level 10.0 does not require independent blend functions.
Alexandre Julliard
julliard at winehq.org
Mon Mar 16 16:49:05 CDT 2020
Module: wine
Branch: master
Commit: 63a06295c61fba2b44c386acb50b297decdf1c1f
URL: https://source.winehq.org/git/wine.git/?a=commit;h=63a06295c61fba2b44c386acb50b297decdf1c1f
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Sun Mar 15 23:42:09 2020 -0500
wined3d: Feature level 10.0 does not require independent blend functions.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 3a6d1bdd2b..2fd061b74a 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;
}
More information about the wine-cvs
mailing list