gallium: fix bad ptr assignment
This commit is contained in:
parent
846b7fbc6c
commit
cc0cf1154b
|
@ -262,7 +262,7 @@ int
|
|||
draw_find_vs_output(struct draw_context *draw,
|
||||
uint semantic_name, uint semantic_index)
|
||||
{
|
||||
const struct pipe_shader_state *vs = &draw->vertex_shader->state;
|
||||
const struct pipe_shader_state *vs = draw->vertex_shader->state;
|
||||
uint i;
|
||||
for (i = 0; i < vs->num_outputs; i++) {
|
||||
if (vs->output_semantic_name[i] == semantic_name &&
|
||||
|
|
Loading…
Reference in New Issue