Module: wine Branch: master Commit: f04448500d0c019f07cae48ae6a5d52e0649e235 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f04448500d0c019f07cae48ae6...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Mar 14 17:02:15 2016 +0100
wined3d: Get resource info from the texture in surface_blt_fbo().
Signed-off-by: Henri Verbeet hverbeet@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/wined3d/surface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index 110344c..3f90592 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -745,7 +745,7 @@ static void surface_blt_fbo(const struct wined3d_device *device,
/* Resolve the source surface first if needed. */ if (src_location == WINED3D_LOCATION_RB_MULTISAMPLE - && (src_surface->resource.format->id != dst_surface->resource.format->id + && (src_surface->container->resource.format->id != dst_surface->container->resource.format->id || abs(src_rect.bottom - src_rect.top) != abs(dst_rect.bottom - dst_rect.top) || abs(src_rect.right - src_rect.left) != abs(dst_rect.right - dst_rect.left))) src_location = WINED3D_LOCATION_RB_RESOLVED;