Module: wine Branch: master Commit: b4830feb34a0d8b5f6b2e235aeafa9f7e17bd23d URL: http://source.winehq.org/git/wine.git/?a=commit;h=b4830feb34a0d8b5f6b2e235ae...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Feb 25 08:39:01 2009 +0100
wined3d: Accept WINED3DFMT_R8G8B8A8_UNORM in getColorBits().
---
dlls/wined3d/utils.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c index 1b6934c..87bfac6 100644 --- a/dlls/wined3d/utils.c +++ b/dlls/wined3d/utils.c @@ -1536,6 +1536,7 @@ BOOL getColorBits(WINED3DFORMAT fmt, short *redSize, short *greenSize, short *bl case WINED3DFMT_X8R8G8B8: case WINED3DFMT_R8G8B8: case WINED3DFMT_A8R8G8B8: + case WINED3DFMT_R8G8B8A8_UNORM: case WINED3DFMT_A2R10G10B10: case WINED3DFMT_X1R5G5B5: case WINED3DFMT_A1R5G5B5: