Module: wine Branch: master Commit: 9868969211012f95f7034cbf0f22fd7423f76653 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9868969211012f95f7034cbf0f...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Mar 22 17:46:12 2016 +0100
wined3d: Get resource info from the texture in surface_depth_blt().
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 9840683..b86cb72 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -2757,7 +2757,7 @@ static HRESULT surface_blt_special(struct wined3d_surface *dst_surface, const RE static void surface_depth_blt(const struct wined3d_surface *surface, struct wined3d_context *context, GLuint texture, GLint x, GLint y, GLsizei w, GLsizei h, GLenum target) { - struct wined3d_device *device = surface->resource.device; + struct wined3d_device *device = surface->container->resource.device; const struct wined3d_gl_info *gl_info = context->gl_info; GLint compare_mode = GL_NONE; struct blt_info info;