[PATCH] WineD3D: Fix the pixelformat selection logic=0A=

Stefan Doesinger stefan at codeweavers.com
Wed Sep 3 13:56:17 CDT 2008


=0A=
I have no idea how the flawed flags got in there=0A=
---=0A=
 dlls/wined3d/context.c |    6 +++---=0A=
 1 files changed, 3 insertions(+), 3 deletions(-)=0A=
=0A=
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c=0A=
index 2f30aff..088142e 100644=0A=
--- a/dlls/wined3d/context.c=0A=
+++ b/dlls/wined3d/context.c=0A=
@@ -136,12 +136,12 @@ static int =
WineD3D_ChoosePixelFormat(IWineD3DDeviceImpl *This, HDC hdc, WINED3DF=0A=
          * only offer 32 bit ARB pixel formats. First try without an =
exact alpha=0A=
          * match, then try without an exact alpha and color match.=0A=
          */=0A=
-        { FALSE, TRUE,  TRUE  },=0A=
         { TRUE,  TRUE,  TRUE  },=0A=
-        { FALSE, FALSE, TRUE  },=0A=
-        { FALSE, FALSE, FALSE },=0A=
         { TRUE,  FALSE, TRUE  },=0A=
+        { FALSE, TRUE,  TRUE  },=0A=
+        { FALSE, FALSE, TRUE  },=0A=
         { TRUE,  FALSE, FALSE },=0A=
+        { FALSE, FALSE, FALSE },=0A=
     };=0A=
 =0A=
     int i =3D 0;=0A=
-- =0A=
1.5.6.4=0A=
=0A=

------=_NextPart_000_0011_01C90EA1.367CC580--




More information about the wine-patches mailing list