Fixed W buffer handling.

This commit is contained in:
Christian Costa 2004-05-10 21:24:21 +00:00 committed by Alexandre Julliard
parent 4e10f0e0bd
commit a967e7755e
1 changed files with 5 additions and 2 deletions

View File

@ -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;