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

Alexandre Julliard julliard at wine.codeweavers.com
Mon Sep 10 10:18:07 CDT 2007


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

Author: Chris Robinson <chris.kcat at gmail.com>
Date:   Wed Sep  5 22:15:40 2007 -0700

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

---

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

diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 9417055..6ac8e54 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -2534,6 +2534,8 @@ BOOL getColorBits(WINED3DFORMAT fmt, short *redSize, short *greenSize, short *bl
         case WINED3DFMT_X1R5G5B5:
         case WINED3DFMT_A1R5G5B5:
         case WINED3DFMT_R5G6B5:
+        case WINED3DFMT_X4R4G4B4:
+        case WINED3DFMT_A4R4G4B4:
         case WINED3DFMT_R3G3B2:
         case WINED3DFMT_A8P8:
         case WINED3DFMT_P8:




More information about the wine-cvs mailing list