wined3d: Assign the name to the correct signature in pixelshader_init().

This commit is contained in:
Henri Verbeet 2014-12-01 08:45:41 +01:00 committed by Alexandre Julliard
parent 44dbf381a7
commit 55eb6c6922
1 changed files with 1 additions and 1 deletions

View File

@ -2346,7 +2346,7 @@ static HRESULT pixelshader_init(struct wined3d_shader *shader, struct wined3d_de
len = strlen(e->semantic_name); len = strlen(e->semantic_name);
memcpy(ptr, e->semantic_name, len + 1); 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; ptr += len + 1;
} }
} }