Henri Verbeet : wined3d: Use wined3d_texture_load_location() in wined3d_swapchain_rotate().
Alexandre Julliard
julliard at winehq.org
Thu Aug 4 17:20:18 CDT 2016
Module: wine
Branch: master
Commit: 42b90efdfd8d2f019d9e85f9829d6bc2097359cc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=42b90efdfd8d2f019d9e85f9829d6bc2097359cc
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Thu Aug 4 12:06:57 2016 +0200
wined3d: Use wined3d_texture_load_location() in wined3d_swapchain_rotate().
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 0543d77..13106bf 100644
--- a/dlls/wined3d/swapchain.c
+++ b/dlls/wined3d/swapchain.c
@@ -460,7 +460,7 @@ static void wined3d_swapchain_rotate(struct wined3d_swapchain *swapchain, struct
sub_resource = &texture->sub_resources[0];
if (!(sub_resource->locations & supported_locations))
- surface_load_location(sub_resource->u.surface, context, texture->resource.draw_binding);
+ wined3d_texture_load_location(texture, 0, context, texture->resource.draw_binding);
texture_prev->texture_rgb = texture->texture_rgb;
texture_prev->rb_multisample = texture->rb_multisample;
More information about the wine-cvs
mailing list