Henri Verbeet : wined3d: Handle WINED3DFMT_R10G10B10A2_UNORM in getColorBits().

Alexandre Julliard julliard at winehq.org
Wed Oct 20 13:24:38 CDT 2010


Module: wine
Branch: master
Commit: 58ecf706e2069524e7fa11e169890d21fa098bf0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=58ecf706e2069524e7fa11e169890d21fa098bf0

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Wed Oct 20 12:12:26 2010 +0200

wined3d: Handle WINED3DFMT_R10G10B10A2_UNORM in getColorBits().

---

 dlls/wined3d/utils.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 2957c5a..efeaa14 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -2499,11 +2499,12 @@ BOOL getColorBits(const struct wined3d_format *format,
 
     switch (format->id)
     {
+        case WINED3DFMT_B10G10R10A2_UNORM:
+        case WINED3DFMT_R10G10B10A2_UNORM:
         case WINED3DFMT_B8G8R8X8_UNORM:
         case WINED3DFMT_B8G8R8_UNORM:
         case WINED3DFMT_B8G8R8A8_UNORM:
         case WINED3DFMT_R8G8B8A8_UNORM:
-        case WINED3DFMT_B10G10R10A2_UNORM:
         case WINED3DFMT_B5G5R5X1_UNORM:
         case WINED3DFMT_B5G5R5A1_UNORM:
         case WINED3DFMT_B5G6R5_UNORM:




More information about the wine-cvs mailing list