From: Zebediah Figura Subject: [PATCH] wined3d: Don't print a FIXME when casting int to uint. Message-Id: <20200203021942.4917-1-z.figura12@gmail.com> Date: Sun, 2 Feb 2020 20:19:42 -0600 Signed-off-by: Zebediah Figura --- dlls/wined3d/glsl_shader.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c index 25e97723255..f30be4855b4 100644 --- a/dlls/wined3d/glsl_shader.c +++ b/dlls/wined3d/glsl_shader.c @@ -3127,7 +3127,8 @@ static void shader_glsl_get_swizzle(const struct wined3d_shader_src_param *param static void shader_glsl_sprintf_cast(struct wined3d_string_buffer *dst_param, const char *src_param, enum wined3d_data_type dst_data_type, enum wined3d_data_type src_data_type) { - if (dst_data_type == src_data_type) + if (dst_data_type == src_data_type + || (src_data_type == WINED3D_DATA_INT && dst_data_type == WINED3D_DATA_UINT)) { string_buffer_sprintf(dst_param, "%s", src_param); return; -- 2.25.0