ddraw: Set X8R8G8B8 for 32 bpp.

This commit is contained in:
Stefan Dösinger 2007-12-06 22:13:25 +01:00 committed by Alexandre Julliard
parent 0e8c13e630
commit f29d947f6a
1 changed files with 1 additions and 1 deletions

View File

@ -599,7 +599,7 @@ IDirectDrawImpl_SetDisplayMode(IDirectDraw7 *iface,
case 15: Mode.Format = WINED3DFMT_X1R5G5B5; break;
case 16: Mode.Format = WINED3DFMT_R5G6B5; 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