Henri Verbeet : wined3d: Use wined3d_texture_load_location() in swapchain_blit().

Alexandre Julliard julliard at winehq.org
Thu Aug 4 17:20:18 CDT 2016


Module: wine
Branch: master
Commit: 3e6494321e4c9b6a0f4000077f23da7299025ba3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3e6494321e4c9b6a0f4000077f23da7299025ba3

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Thu Aug  4 12:06:56 2016 +0200

wined3d: Use wined3d_texture_load_location() in swapchain_blit().

Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wined3d/swapchain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wined3d/swapchain.c b/dlls/wined3d/swapchain.c
index e3d6259..0543d77 100644
--- a/dlls/wined3d/swapchain.c
+++ b/dlls/wined3d/swapchain.c
@@ -330,7 +330,7 @@ static void swapchain_blit(const struct wined3d_swapchain *swapchain,
         if (texture->resource.multisample_type)
         {
             location = WINED3D_LOCATION_RB_RESOLVED;
-            surface_load_location(back_buffer, context, location);
+            wined3d_texture_load_location(texture, 0, context, location);
         }
 
         context_apply_fbo_state_blit(context, GL_READ_FRAMEBUFFER, back_buffer, NULL, location);




More information about the wine-cvs mailing list