[PATCH 4/4] wined3d: Add COMPLEX_FIXUP_NONE as value 0 to the complex_fixup enum.
Henri Verbeet
hverbeet at codeweavers.com
Fri Mar 19 07:19:53 CDT 2010
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>
--
1.6.4.4
More information about the wine-patches
mailing list