d3d8: fbconfig fix.
commita874487f9544da03f5354b3e7aa00f813f68a90d
authorRoderick Colenbrander <thunderbird2k@gmx.net>
Tue, 7 Feb 2006 15:51:08 +0000 (7 16:51 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 7 Feb 2006 15:51:08 +0000 (7 16:51 +0100)
treef68f156cb3b4a2d3e5540e3780f24958e78a628e
parent7a61f086f17057a19ad3a65e2f177bbe3de136ac
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.
dlls/d3d8/device.c