Henri Verbeet : wined3d: Get resource info from the texture in context_apply_blit_state().
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Mar 4 09:48:33 CST 2016
Module: wine
Branch: master
Commit: 4b34b5646cf22b78da1d6d7513fbead7934cb791
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4b34b5646cf22b78da1d6d7513fbead7934cb791
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Fri Mar 4 00:05:24 2016 +0100
wined3d: Get resource info from the texture in context_apply_blit_state().
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/wined3d/context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index d1966b9..500904d 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -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;
More information about the wine-cvs
mailing list