Commit 4a05c631 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

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.
parent 82e67011
......@@ -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;
};
......
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