From a967e7755ee1b49d319595fffc0441d9bbba9a6f Mon Sep 17 00:00:00 2001 From: Christian Costa Date: Mon, 10 May 2004 21:24:21 +0000 Subject: [PATCH] Fixed W buffer handling. --- dlls/d3d8/device.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dlls/d3d8/device.c b/dlls/d3d8/device.c index 909e7b9439..53e8c3730f 100644 --- a/dlls/d3d8/device.c +++ b/dlls/d3d8/device.c @@ -2242,10 +2242,13 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetRenderState(LPDIRECT3DDEVICE8 iface, D3 glEnable(GL_DEPTH_TEST); checkGLcall("glEnable GL_DEPTH_TEST"); break; - case D3DZB_USEW: + glEnable(GL_DEPTH_TEST); + checkGLcall("glEnable GL_DEPTH_TEST"); + FIXME("W buffer is not well handled\n"); + break; default: - FIXME("Unrecognized/Unhandled D3DZBUFFERTYPE value %ld\n", Value); + FIXME("Unrecognized D3DZBUFFERTYPE value %ld\n", Value); } break;