ddraw: Don't map 1, 2 and 4 bit alpha formats to WINED3DFMT_A8_UNORM.
This commit is contained in:
parent
21af37226d
commit
21e2ceb4c1
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue