[PATCH] wined3d: Silence false FIXME message.

Józef Kucia jkucia at codeweavers.com
Fri Aug 5 12:41:41 CDT 2016


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




More information about the wine-patches mailing list