Henri Verbeet : wined3d: Use wined3d_texture_load_location() in wined3d_texture_get_dc().
Module: wine Branch: master Commit: 29d50a21b924db9885314f651d06745f227ab28e URL: http://source.winehq.org/git/wine.git/?a=commit;h=29d50a21b924db9885314f651d... Author: Henri Verbeet <hverbeet(a)codeweavers.com> Date: Fri Aug 5 12:38:58 2016 +0200 wined3d: Use wined3d_texture_load_location() in wined3d_texture_get_dc(). Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/wined3d/texture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/texture.c b/dlls/wined3d/texture.c index 098b5d0..2dbb7f3 100644 --- a/dlls/wined3d/texture.c +++ b/dlls/wined3d/texture.c @@ -2881,7 +2881,7 @@ HRESULT CDECL wined3d_texture_get_dc(struct wined3d_texture *texture, unsigned i if (device->d3d_initialized) context = context_acquire(device, NULL); - surface_load_location(surface, context, texture->resource.map_binding); + wined3d_texture_load_location(texture, sub_resource_idx, context, texture->resource.map_binding); wined3d_texture_invalidate_location(texture, sub_resource_idx, ~texture->resource.map_binding); if (!surface->dc)
participants (1)
-
Alexandre Julliard