wined3d: Surfaces always have a container in surface_modify_ds_location().
This commit is contained in:
parent
f020251d2b
commit
0fba32f139
|
@ -5028,13 +5028,7 @@ void surface_modify_ds_location(struct wined3d_surface *surface,
|
||||||
|
|
||||||
if (((surface->flags & SFLAG_INTEXTURE) && !(location & SFLAG_INTEXTURE))
|
if (((surface->flags & SFLAG_INTEXTURE) && !(location & SFLAG_INTEXTURE))
|
||||||
|| (!(surface->flags & SFLAG_INTEXTURE) && (location & SFLAG_INTEXTURE)))
|
|| (!(surface->flags & SFLAG_INTEXTURE) && (location & SFLAG_INTEXTURE)))
|
||||||
{
|
wined3d_texture_set_dirty(surface->container);
|
||||||
if (surface->container)
|
|
||||||
{
|
|
||||||
TRACE("Passing to container.\n");
|
|
||||||
wined3d_texture_set_dirty(surface->container);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
surface->ds_current_size.cx = w;
|
surface->ds_current_size.cx = w;
|
||||||
surface->ds_current_size.cy = h;
|
surface->ds_current_size.cy = h;
|
||||||
|
|
Loading…
Reference in New Issue