[PATCH 4/4] wined3d: Allow multisample source location for all color blits.

Paul Gofman pgofman at codeweavers.com
Wed May 27 06:36:58 CDT 2020


Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
---
 dlls/wined3d/surface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index eaf64cf749..77362bb428 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -1707,7 +1707,7 @@ HRESULT texture2d_blt(struct wined3d_texture *dst_texture, unsigned int dst_sub_
 
     if (src_texture->resource.multisample_type != WINED3D_MULTISAMPLE_NONE
             && ((scale && !context->d3d_info->scaled_resolve)
-            || convert || blit_op != WINED3D_BLIT_OP_COLOR_BLIT))
+            || convert || !wined3d_is_color_blit(blit_op)))
         src_location = WINED3D_LOCATION_RB_RESOLVED;
     else
         src_location = src_texture->resource.draw_binding;
-- 
2.26.2




More information about the wine-devel mailing list