Module: wine Branch: master Commit: c36e033856b811d19a2abb1024b0ffe1b71cc1eb URL: http://source.winehq.org/git/wine.git/?a=commit;h=c36e033856b811d19a2abb1024...
Author: Stefan Dösinger stefan@codeweavers.com Date: Wed Sep 3 13:56:17 2008 -0500
wined3d: Fix the pixelformat selection logic.
---
dlls/wined3d/context.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 2f30aff..088142e 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -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 * match, then try without an exact alpha and color match. */ - { FALSE, TRUE, TRUE }, { TRUE, TRUE, TRUE }, - { FALSE, FALSE, TRUE }, - { FALSE, FALSE, FALSE }, { TRUE, FALSE, TRUE }, + { FALSE, TRUE, TRUE }, + { FALSE, FALSE, TRUE }, { TRUE, FALSE, FALSE }, + { FALSE, FALSE, FALSE }, };
int i = 0;