Commit 20e61b39 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

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

parent a679caed
...@@ -95,14 +95,14 @@ enum complex_fixup ...@@ -95,14 +95,14 @@ enum complex_fixup
#include <pshpack2.h> #include <pshpack2.h>
struct color_fixup_desc struct color_fixup_desc
{ {
unsigned x_sign_fixup : 1; unsigned short x_sign_fixup : 1;
unsigned x_source : 3; unsigned short x_source : 3;
unsigned y_sign_fixup : 1; unsigned short y_sign_fixup : 1;
unsigned y_source : 3; unsigned short y_source : 3;
unsigned z_sign_fixup : 1; unsigned short z_sign_fixup : 1;
unsigned z_source : 3; unsigned short z_source : 3;
unsigned w_sign_fixup : 1; unsigned short w_sign_fixup : 1;
unsigned w_source : 3; unsigned short w_source : 3;
}; };
#include <poppack.h> #include <poppack.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment