wined3d: Also update ds_current_size if there's no current DS location in surface_load_ds_location().
This commit is contained in:
parent
6abf5fff9d
commit
516ade9b2b
|
@ -4390,6 +4390,8 @@ void surface_load_ds_location(IWineD3DSurfaceImpl *surface, struct wined3d_conte
|
||||||
* should do. */
|
* should do. */
|
||||||
FIXME("No up to date depth stencil location.\n");
|
FIXME("No up to date depth stencil location.\n");
|
||||||
surface->flags |= location;
|
surface->flags |= location;
|
||||||
|
surface->ds_current_size.cx = surface->resource.width;
|
||||||
|
surface->ds_current_size.cy = surface->resource.height;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue