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>
This commit is contained in:
parent
6d823825fa
commit
9868969211
|
@ -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,
|
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)
|
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;
|
const struct wined3d_gl_info *gl_info = context->gl_info;
|
||||||
GLint compare_mode = GL_NONE;
|
GLint compare_mode = GL_NONE;
|
||||||
struct blt_info info;
|
struct blt_info info;
|
||||||
|
|
Loading…
Reference in New Issue