wined3d: Handle WINED3DFMT_R10G10B10A2_UNORM in getColorBits().

This commit is contained in:
Henri Verbeet 2010-10-20 12:12:26 +02:00 committed by Alexandre Julliard
parent db6731f628
commit 58ecf706e2
1 changed files with 2 additions and 1 deletions

View File

@ -2499,11 +2499,12 @@ BOOL getColorBits(const struct wined3d_format *format,
switch (format->id) switch (format->id)
{ {
case WINED3DFMT_B10G10R10A2_UNORM:
case WINED3DFMT_R10G10B10A2_UNORM:
case WINED3DFMT_B8G8R8X8_UNORM: case WINED3DFMT_B8G8R8X8_UNORM:
case WINED3DFMT_B8G8R8_UNORM: case WINED3DFMT_B8G8R8_UNORM:
case WINED3DFMT_B8G8R8A8_UNORM: case WINED3DFMT_B8G8R8A8_UNORM:
case WINED3DFMT_R8G8B8A8_UNORM: case WINED3DFMT_R8G8B8A8_UNORM:
case WINED3DFMT_B10G10R10A2_UNORM:
case WINED3DFMT_B5G5R5X1_UNORM: case WINED3DFMT_B5G5R5X1_UNORM:
case WINED3DFMT_B5G5R5A1_UNORM: case WINED3DFMT_B5G5R5A1_UNORM:
case WINED3DFMT_B5G6R5_UNORM: case WINED3DFMT_B5G6R5_UNORM: