[PATCH 5/5] wined3d: Surfaces always have a container in surface_modify_ds_location().
Henri Verbeet
hverbeet at codeweavers.com
Tue Nov 19 03:28:50 CST 2013
---
dlls/wined3d/surface.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index a0ca8ba..60348ab 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -5028,13 +5028,7 @@ void surface_modify_ds_location(struct wined3d_surface *surface,
if (((surface->flags & SFLAG_INTEXTURE) && !(location & SFLAG_INTEXTURE))
|| (!(surface->flags & SFLAG_INTEXTURE) && (location & SFLAG_INTEXTURE)))
- {
- if (surface->container)
- {
- TRACE("Passing to container.\n");
- wined3d_texture_set_dirty(surface->container);
- }
- }
+ wined3d_texture_set_dirty(surface->container);
surface->ds_current_size.cx = w;
surface->ds_current_size.cy = h;
--
1.7.10.4
More information about the wine-patches
mailing list