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

oldstable
Henri Verbeet 2013-11-20 10:04:29 +01:00 committed by Alexandre Julliard
parent dc22a57042
commit 51f05a1f14
1 changed files with 1 additions and 1 deletions

View File

@ -5215,7 +5215,7 @@ void surface_invalidate_location(struct wined3d_surface *surface, DWORD location
{
TRACE("surface %p, location %s.\n", surface, debug_surflocation(location & SFLAG_LOCATIONS));
if ((location & (SFLAG_INTEXTURE | SFLAG_INSRGBTEX)) && surface->container)
if (location & (SFLAG_INTEXTURE | SFLAG_INSRGBTEX))
wined3d_texture_set_dirty(surface->container);
surface->flags &= ~(location & SFLAG_LOCATIONS);