Commit 0fba32f1 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Surfaces always have a container in surface_modify_ds_location().

parent f020251d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment