Commit a874487f authored by Roderick Colenbrander's avatar Roderick Colenbrander Committed by Alexandre Julliard

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.
parent 7a61f086
......@@ -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:
......
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