Commit 42b90efd authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Use wined3d_texture_load_location() in wined3d_swapchain_rotate().

parent 3e649432
...@@ -460,7 +460,7 @@ static void wined3d_swapchain_rotate(struct wined3d_swapchain *swapchain, struct ...@@ -460,7 +460,7 @@ static void wined3d_swapchain_rotate(struct wined3d_swapchain *swapchain, struct
sub_resource = &texture->sub_resources[0]; sub_resource = &texture->sub_resources[0];
if (!(sub_resource->locations & supported_locations)) 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->texture_rgb = texture->texture_rgb;
texture_prev->rb_multisample = texture->rb_multisample; texture_prev->rb_multisample = texture->rb_multisample;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment