d3d8: fbconfig fix.
Right now the ActiveRender code in D3D8 requests a GLX_DEPTH_SIZE of 32 in case the direct3d color format also has a depth of 32. As verified on various linux drivers (Ati fglrx, Ati (dri) and Nvidia) the color depth needs to be 24. This patch sets the depth to 24 and it fixes bugs in 3dmark2001 and other programs.
This commit is contained in:
parent
7a61f086f1
commit
a874487f95
|
@ -4667,7 +4667,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_ActiveRender(LPDIRECT3DDEVICE8 iface,
|
|||
break;
|
||||
|
||||
case D3DFMT_D32:
|
||||
PUSH2(GLX_DEPTH_SIZE, 32);
|
||||
PUSH2(GLX_DEPTH_SIZE, 24);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue