wined3d: Track depth stencil location per-surface.
commit4f77c29bcf58a88cea8fb833f770aa107960b34e
authorH. Verbeet <hverbeet@gmail.com>
Wed, 2 Jul 2008 21:00:41 +0000 (2 23:00 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 3 Jul 2008 09:50:52 +0000 (3 11:50 +0200)
treed21e72668ee79481bc9d08443197993f563ad504
parente7d0ef72ba5616d9e9c7d5f0af27db1328ccbf9e
wined3d: Track depth stencil location per-surface.

This gets rid of depth_copy_state in the device, and instead tracks
the most up to date location per-surface. This makes things a lot
easier to follow, and allows us to make a copy when switching depth
stencils in SetDepthStencilSurface().
dlls/wined3d/context.c
dlls/wined3d/device.c
dlls/wined3d/drawprim.c
dlls/wined3d/surface.c
dlls/wined3d/wined3d_private.h
dlls/wined3d/wined3d_private_types.h