ddraw: Set X8R8G8B8 for 32 bpp.
This commit is contained in:
parent
0e8c13e630
commit
f29d947f6a
|
@ -599,7 +599,7 @@ IDirectDrawImpl_SetDisplayMode(IDirectDraw7 *iface,
|
||||||
case 15: Mode.Format = WINED3DFMT_X1R5G5B5; break;
|
case 15: Mode.Format = WINED3DFMT_X1R5G5B5; break;
|
||||||
case 16: Mode.Format = WINED3DFMT_R5G6B5; break;
|
case 16: Mode.Format = WINED3DFMT_R5G6B5; break;
|
||||||
case 24: Mode.Format = WINED3DFMT_R8G8B8; break;
|
case 24: Mode.Format = WINED3DFMT_R8G8B8; break;
|
||||||
case 32: Mode.Format = WINED3DFMT_A8R8G8B8; break;
|
case 32: Mode.Format = WINED3DFMT_X8R8G8B8; break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO: The possible return values from msdn suggest that
|
/* TODO: The possible return values from msdn suggest that
|
||||||
|
|
Loading…
Reference in New Issue