d3d: Map D3DRS_ZBIAS to WINED3DRS_DEPTHBIAS.
commit96b758f7b37033bf382ce40dd3310965d3ac3f76
authorStefan Dösinger <stefan@codeweavers.com>
Thu, 21 Apr 2011 20:36:11 +0000 (21 22:36 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 22 Apr 2011 15:51:29 +0000 (22 17:51 +0200)
treeb71a7413da8f5f09e868aa738cca3b53f7ec3f92
parentf2b34dddfb0ff4d390c9d576570c94467d8cc447
d3d: Map D3DRS_ZBIAS to WINED3DRS_DEPTHBIAS.

ZBIAS was removed in d3d9 and replaced with DEPTHBIAS. Currently
wined3d implements both independently which will cause trouble if we
want to set the depthbias value depending on the depth stencil format.
dlls/d3d8/device.c
dlls/ddraw/device.c
dlls/wined3d/state.c
dlls/wined3d/stateblock.c
dlls/wined3d/utils.c
include/wine/wined3d.idl