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:
Jacek Caban 2023-10-17 22:45:43 +02:00 committed by Alexandre Julliard
parent 82e6701178
commit 4a05c6311e

View file

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