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

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Henri Verbeet 2016-03-04 00:05:24 +01:00 committed by Alexandre Julliard
parent cea2ec9ab6
commit 4b34b5646c
1 changed files with 1 additions and 1 deletions

View File

@ -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;