wined3d: Fix the pixelformat selection logic.

This commit is contained in:
Stefan Dösinger 2008-09-03 13:56:17 -05:00 committed by Alexandre Julliard
parent 421b6558c1
commit c36e033856

View File

@ -136,12 +136,12 @@ static int WineD3D_ChoosePixelFormat(IWineD3DDeviceImpl *This, HDC hdc, WINED3DF
* only offer 32 bit ARB pixel formats. First try without an exact alpha * only offer 32 bit ARB pixel formats. First try without an exact alpha
* match, then try without an exact alpha and color match. * match, then try without an exact alpha and color match.
*/ */
{ FALSE, TRUE, TRUE },
{ TRUE, TRUE, TRUE }, { TRUE, TRUE, TRUE },
{ FALSE, FALSE, TRUE },
{ FALSE, FALSE, FALSE },
{ TRUE, FALSE, TRUE }, { TRUE, FALSE, TRUE },
{ FALSE, TRUE, TRUE },
{ FALSE, FALSE, TRUE },
{ TRUE, FALSE, FALSE }, { TRUE, FALSE, FALSE },
{ FALSE, FALSE, FALSE },
}; };
int i = 0; int i = 0;