wined3d: Accept WINED3DFMT_R8G8B8A8_UNORM in getColorBits().

Henri Verbeet hverbeet at codeweavers.com
Wed Feb 25 01:39:01 CST 2009


---
 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:
-- 
1.6.0.6



--------------080206040800090400010901--



More information about the wine-patches mailing list