You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
wined3d-Silence_FIXMEs: Added patch to silence FIXME in shader_glsl_declare_generic_vertex_attribute.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
From 3bbe012e2a27c6d2d59539b5e12bf92ab2180b77 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?J=C3=B3zef=20Kucia?= <jkucia@codeweavers.com>
|
||||
Date: Fri, 5 Aug 2016 19:41:41 +0200
|
||||
Subject: wined3d: Silence false FIXME message.
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
|
||||
Signed-off-by: Matteo Bruni <mbruni@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 2a03b9f..64c9cec 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.9.0
|
||||
|
Reference in New Issue
Block a user