wined3d: Get resource info from the texture in surface_copy_simple_location().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5bf5bc2784
commit
484f5f1ec5
|
@ -2956,7 +2956,7 @@ static DWORD resource_access_from_location(DWORD location)
|
|||
|
||||
static void surface_copy_simple_location(struct wined3d_surface *surface, DWORD location)
|
||||
{
|
||||
struct wined3d_device *device = surface->resource.device;
|
||||
struct wined3d_device *device = surface->container->resource.device;
|
||||
struct wined3d_context *context;
|
||||
const struct wined3d_gl_info *gl_info;
|
||||
struct wined3d_bo_address dst, src;
|
||||
|
|
Loading…
Reference in New Issue