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

This commit is contained in:
Stefan Dösinger 2012-12-02 16:00:45 +01:00 committed by Alexandre Julliard
parent 21af37226d
commit 21e2ceb4c1
1 changed files with 0 additions and 4 deletions

View File

@ -458,10 +458,6 @@ enum wined3d_format_id PixelFormat_DD2WineD3D(const DDPIXELFORMAT *DDPixelFormat
/* Alpha only Pixelformat */ /* Alpha only Pixelformat */
switch(DDPixelFormat->u1.dwAlphaBitDepth) switch(DDPixelFormat->u1.dwAlphaBitDepth)
{ {
case 1:
case 2:
case 4:
FIXME("Unsupported Alpha-Only bit depth 0x%x.\n", DDPixelFormat->u1.dwAlphaBitDepth);
case 8: case 8:
return WINED3DFMT_A8_UNORM; return WINED3DFMT_A8_UNORM;