Henri Verbeet : wined3d: Add COMPLEX_FIXUP_NONE as value 0 to the complex_fixup enum.

Alexandre Julliard julliard at winehq.org
Fri Mar 19 11:16:41 CDT 2010


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Fri Mar 19 13:19:53 2010 +0100

wined3d: Add COMPLEX_FIXUP_NONE as value 0 to the complex_fixup enum.

To prevent get_complex_fixup() from returning COMPLEX_FIXUP_YUY2 for simple
fixups.

---

 dlls/wined3d/wined3d_private.h |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 3cb7fdc..9cd58ca 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -68,10 +68,11 @@ enum fixup_channel_source
 
 enum complex_fixup
 {
-    COMPLEX_FIXUP_YUY2 = 0,
-    COMPLEX_FIXUP_UYVY = 1,
-    COMPLEX_FIXUP_YV12 = 2,
-    COMPLEX_FIXUP_P8   = 3,
+    COMPLEX_FIXUP_NONE = 0,
+    COMPLEX_FIXUP_YUY2 = 1,
+    COMPLEX_FIXUP_UYVY = 2,
+    COMPLEX_FIXUP_YV12 = 3,
+    COMPLEX_FIXUP_P8   = 4,
 };
 
 #include <pshpack2.h>




More information about the wine-cvs mailing list