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.
This commit is contained in:
Henri Verbeet 2010-03-19 13:19:53 +01:00 committed by Alexandre Julliard
parent 12608b0a0d
commit 122129f94a
1 changed files with 5 additions and 4 deletions

View File

@ -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>