Commit a967e775 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

Fixed W buffer handling.

parent 4e10f0e0
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment