=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: ddraw: Don't map 1, 2 and 4 bit alpha formats to WINED3DFMT_A8_UNORM.

Alexandre Julliard julliard at winehq.org
Mon Dec 3 13:33:56 CST 2012


Module: wine
Branch: master
Commit: 21e2ceb4c1334016764e65c1721ddca6e684e687
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=21e2ceb4c1334016764e65c1721ddca6e684e687

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Sun Dec  2 16:00:45 2012 +0100

ddraw: Don't map 1, 2 and 4 bit alpha formats to WINED3DFMT_A8_UNORM.

---

 dlls/ddraw/utils.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/dlls/ddraw/utils.c b/dlls/ddraw/utils.c
index 1964452..a1fb43b 100644
--- a/dlls/ddraw/utils.c
+++ b/dlls/ddraw/utils.c
@@ -458,10 +458,6 @@ enum wined3d_format_id PixelFormat_DD2WineD3D(const DDPIXELFORMAT *DDPixelFormat
         /* Alpha only Pixelformat */
         switch(DDPixelFormat->u1.dwAlphaBitDepth)
         {
-            case 1:
-            case 2:
-            case 4:
-                FIXME("Unsupported Alpha-Only bit depth 0x%x.\n", DDPixelFormat->u1.dwAlphaBitDepth);
             case 8:
                 return WINED3DFMT_A8_UNORM;
 




More information about the wine-cvs mailing list