From 55eb6c692264de661ace1d2ef66b8ba9a0990bab Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 1 Dec 2014 08:45:41 +0100 Subject: [PATCH] wined3d: Assign the name to the correct signature in pixelshader_init(). --- dlls/wined3d/shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/shader.c b/dlls/wined3d/shader.c index f32d248a084..796a924889e 100644 --- a/dlls/wined3d/shader.c +++ b/dlls/wined3d/shader.c @@ -2346,7 +2346,7 @@ static HRESULT pixelshader_init(struct wined3d_shader *shader, struct wined3d_de len = strlen(e->semantic_name); memcpy(ptr, e->semantic_name, len + 1); - shader->output_signature[e->register_idx].semantic_name = ptr; + shader->input_signature[e->register_idx].semantic_name = ptr; ptr += len + 1; } }