ddraw: Avoid enumerating display modes for formats that arent't supported anyway.
Some of these formats can't even be translated by ddraw.
This commit is contained in:
parent
7e0c4fa404
commit
ddddc60eb9
|
@ -1291,21 +1291,8 @@ IDirectDrawImpl_EnumDisplayModes(IDirectDraw7 *iface,
|
|||
|
||||
WINED3DFORMAT checkFormatList[] =
|
||||
{
|
||||
WINED3DFMT_B8G8R8_UNORM,
|
||||
WINED3DFMT_B8G8R8A8_UNORM,
|
||||
WINED3DFMT_B8G8R8X8_UNORM,
|
||||
WINED3DFMT_B5G6R5_UNORM,
|
||||
WINED3DFMT_B5G5R5X1_UNORM,
|
||||
WINED3DFMT_B5G5R5A1_UNORM,
|
||||
WINED3DFMT_B4G4R4A4_UNORM,
|
||||
WINED3DFMT_B2G3R3_UNORM,
|
||||
WINED3DFMT_B2G3R3A8_UNORM,
|
||||
WINED3DFMT_B4G4R4X4_UNORM,
|
||||
WINED3DFMT_R10G10B10A2_UNORM,
|
||||
WINED3DFMT_R8G8B8A8_UNORM,
|
||||
WINED3DFMT_R8G8B8X8_UNORM,
|
||||
WINED3DFMT_B10G10R10A2_UNORM,
|
||||
WINED3DFMT_P8_UINT_A8_UNORM,
|
||||
WINED3DFMT_P8_UINT,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue