Commit aa48321c authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent 06c95af4
......@@ -2421,12 +2421,7 @@ void surface_add_dirty_rect(struct wined3d_surface *surface, const struct wined3
surface->dirtyRect.bottom = surface->resource.height;
}
/* if the container is a texture then mark it dirty. */
if (surface->container)
{
TRACE("Passing to container.\n");
wined3d_texture_set_dirty(surface->container);
}
wined3d_texture_set_dirty(surface->container);
}
HRESULT surface_load(struct wined3d_surface *surface, BOOL srgb)
......
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