wined3d: Use unsigned short for the bitfields in struct color_fixup_desc.

This commit is contained in:
Matteo Bruni 2015-02-10 20:14:48 +01:00 committed by Alexandre Julliard
parent a679caedf6
commit 20e61b396e
1 changed files with 8 additions and 8 deletions

View File

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