mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
wined3d: Use the correct mask for depth/stencil locations in surface_load_ds_location().
This commit is contained in:
parent
ed64b3761d
commit
a5983e0c3d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user