[PATCH] wined3d: Silence false FIXME message.
Matteo Bruni
matteo.mystral at gmail.com
Fri Aug 5 12:48:27 CDT 2016
2016-08-05 19:41 GMT+02:00 Józef Kucia <jkucia at codeweavers.com>:
> Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
> ---
> dlls/wined3d/glsl_shader.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c
> index 626432b..5ccb027 100644
> --- a/dlls/wined3d/glsl_shader.c
> +++ b/dlls/wined3d/glsl_shader.c
> @@ -1784,7 +1784,7 @@ static void shader_glsl_declare_generic_vertex_attribute(struct wined3d_string_b
> index);
> return;
> }
> - if (e->sysval_semantic)
> + if (e->sysval_semantic && e->sysval_semantic != WINED3D_SV_POSITION)
> FIXME("Unhandled sysval semantic %#x.\n", e->sysval_semantic);
>
> if (shader_glsl_use_explicit_attrib_location(gl_info))
> --
> 2.7.3
I wrote an identical patch so have my
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
More information about the wine-patches
mailing list