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

wined3d: Use the correct mask for depth/stencil locations in surface_load_ds_location().

parent ed64b376
......@@ -4404,8 +4404,13 @@ void surface_load_ds_location(IWineD3DSurfaceImpl *surface, struct wined3d_conte
return;
}
if (!(surface->flags & SFLAG_LOCATIONS))
if (!(surface->flags & SFLAG_DS_LOCATIONS))
{
/* This mostly happens when a depth / stencil is used without being
* cleared first. In principle we could upload from sysmem, or
* explicitly clear before first usage. For the moment there don't
* appear to be a lot of applications depending on this, so a FIXME
* should do. */
FIXME("No up to date depth stencil location.\n");
surface->flags |= location;
return;
......
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