Fixed W buffer handling.
This commit is contained in:
parent
4e10f0e0bd
commit
a967e7755e
|
@ -2242,10 +2242,13 @@ HRESULT WINAPI IDirect3DDevice8Impl_SetRenderState(LPDIRECT3DDEVICE8 iface, D3
|
||||||
glEnable(GL_DEPTH_TEST);
|
glEnable(GL_DEPTH_TEST);
|
||||||
checkGLcall("glEnable GL_DEPTH_TEST");
|
checkGLcall("glEnable GL_DEPTH_TEST");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case D3DZB_USEW:
|
case D3DZB_USEW:
|
||||||
|
glEnable(GL_DEPTH_TEST);
|
||||||
|
checkGLcall("glEnable GL_DEPTH_TEST");
|
||||||
|
FIXME("W buffer is not well handled\n");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
FIXME("Unrecognized/Unhandled D3DZBUFFERTYPE value %ld\n", Value);
|
FIXME("Unrecognized D3DZBUFFERTYPE value %ld\n", Value);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue