Commit 4b34b564 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Get resource info from the texture in context_apply_blit_state().

parent cea2ec9a
......@@ -2462,7 +2462,7 @@ void context_apply_blit_state(struct wined3d_context *context, const struct wine
wined3d_texture_load(rt->container, context, FALSE);
context_apply_fbo_state_blit(context, GL_FRAMEBUFFER, rt, NULL, rt->container->resource.draw_binding);
if (rt->resource.format->id != WINED3DFMT_NULL)
if (rt->container->resource.format->id != WINED3DFMT_NULL)
rt_mask = 1;
else
rt_mask = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment