[PATCH 1/2] ddraw: Don't map 1, 2 and 4 bit alpha formats to WINED3DFMT_A8_UNORM

Stefan Dösinger stefan at codeweavers.com
Sun Dec 2 09:00:45 CST 2012


---
 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;
 
-- 
1.7.8.6




More information about the wine-patches mailing list