Henri Verbeet : wined3d: Use wined3d_texture_load_location() in swapchain_blit().
Module: wine Branch: master Commit: 3e6494321e4c9b6a0f4000077f23da7299025ba3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3e6494321e4c9b6a0f4000077f... Author: Henri Verbeet <hverbeet(a)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(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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);
participants (1)
-
Alexandre Julliard