Module: wine Branch: master Commit: df099ca72b0eff7256e1199c0f501b36d35e45d6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=df099ca72b0eff7256e1199c0f...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Aug 3 15:25:29 2016 +0200
wined3d: Use wined3d_texture_load_location() in surface_load_sysmem().
Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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 744912c..fdc7a51 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -2792,7 +2792,7 @@ static void surface_load_sysmem(struct wined3d_surface *surface, }
if (sub_resource->locations & (WINED3D_LOCATION_RB_MULTISAMPLE | WINED3D_LOCATION_RB_RESOLVED)) - surface_load_location(surface, context, WINED3D_LOCATION_TEXTURE_RGB); + wined3d_texture_load_location(texture, sub_resource_idx, context, WINED3D_LOCATION_TEXTURE_RGB);
/* Download the surface to system memory. */ if (sub_resource->locations & (WINED3D_LOCATION_TEXTURE_RGB | WINED3D_LOCATION_TEXTURE_SRGB))