mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:50:21 +00:00
wined3d: Use unsigned type for res_type bit field.
Fixes -Wbitfield-constant-conversion when enum is signed, causing WINED3D_GL_RES_TYPE_TEX_RECT value to be truncated to -4.
This commit is contained in:
parent
82e6701178
commit
4a05c6311e
|
@ -6927,7 +6927,7 @@ const struct wined3d_fragment_pipe_ops arbfp_fragment_pipeline =
|
|||
struct arbfp_blit_type
|
||||
{
|
||||
enum complex_fixup fixup : 4;
|
||||
enum wined3d_gl_resource_type res_type : 3;
|
||||
unsigned int res_type : 3;
|
||||
DWORD use_color_key : 1;
|
||||
DWORD padding : 24;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue