wined3d: Use unsigned short for the bitfields in struct color_fixup_desc.
This commit is contained in:
parent
a679caedf6
commit
20e61b396e
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue