Paul Gofman : wined3d: Allow multisample source locations for all colour blits.
Alexandre Julliard
julliard at winehq.org
Thu May 28 17:11:10 CDT 2020
Module: wine
Branch: master
Commit: 3aa53f328c5ed9225248dea6f8fe9ebf4273e2ef
URL: https://source.winehq.org/git/wine.git/?a=commit;h=3aa53f328c5ed9225248dea6f8fe9ebf4273e2ef
Author: Paul Gofman <pgofman at codeweavers.com>
Date: Thu May 28 22:50:18 2020 +0430
wined3d: Allow multisample source locations for all colour blits.
Signed-off-by: Paul Gofman <pgofman at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 94743c45e3..503f9f45e1 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_colour_blit(blit_op)))
src_location = WINED3D_LOCATION_RB_RESOLVED;
else
src_location = src_texture->resource.draw_binding;
More information about the wine-cvs
mailing list