wined3d: Add X4R4G4B4 and A4R4G4B4 to formats allowed in getColorBits.

This commit is contained in:
Chris Robinson 2007-09-05 22:15:40 -07:00 committed by Alexandre Julliard
parent 735bf5a6f7
commit 8d32a490a1
1 changed files with 2 additions and 0 deletions

View File

@ -2534,6 +2534,8 @@ BOOL getColorBits(WINED3DFORMAT fmt, short *redSize, short *greenSize, short *bl
case WINED3DFMT_X1R5G5B5: case WINED3DFMT_X1R5G5B5:
case WINED3DFMT_A1R5G5B5: case WINED3DFMT_A1R5G5B5:
case WINED3DFMT_R5G6B5: case WINED3DFMT_R5G6B5:
case WINED3DFMT_X4R4G4B4:
case WINED3DFMT_A4R4G4B4:
case WINED3DFMT_R3G3B2: case WINED3DFMT_R3G3B2:
case WINED3DFMT_A8P8: case WINED3DFMT_A8P8:
case WINED3DFMT_P8: case WINED3DFMT_P8: