mirror of
https://github.com/reactos/wine.git
synced 2025-02-22 05:40:50 +00:00
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>
This commit is contained in:
parent
cea2ec9ab6
commit
4b34b5646c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user