Matteo Bruni : wined3d: Use unsigned short for the bitfields in struct color_fixup_desc.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Feb 11 10:28:09 CST 2015
Module: wine
Branch: master
Commit: 20e61b396e98e7b2fefb20c1b4401718da8e4a99
URL: http://source.winehq.org/git/wine.git/?a=commit;h=20e61b396e98e7b2fefb20c1b4401718da8e4a99
Author: Matteo Bruni <mbruni at codeweavers.com>
Date: Tue Feb 10 20:14:48 2015 +0100
wined3d: Use unsigned short for the bitfields in struct color_fixup_desc.
---
dlls/wined3d/wined3d_private.h | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 4373805..539f18c 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -95,14 +95,14 @@ enum complex_fixup
#include <pshpack2.h>
struct color_fixup_desc
{
- unsigned x_sign_fixup : 1;
- unsigned x_source : 3;
- unsigned y_sign_fixup : 1;
- unsigned y_source : 3;
- unsigned z_sign_fixup : 1;
- unsigned z_source : 3;
- unsigned w_sign_fixup : 1;
- unsigned w_source : 3;
+ unsigned short x_sign_fixup : 1;
+ unsigned short x_source : 3;
+ unsigned short y_sign_fixup : 1;
+ unsigned short y_source : 3;
+ unsigned short z_sign_fixup : 1;
+ unsigned short z_source : 3;
+ unsigned short w_sign_fixup : 1;
+ unsigned short w_source : 3;
};
#include <poppack.h>
More information about the wine-cvs
mailing list