summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorBrian <brian@i915.localnet.net>2008-02-25 15:34:46 -0700
committerBrian <brian@i915.localnet.net>2008-02-25 15:34:46 -0700
commitcc0cf1154b6288d49d7a9dfd18fb666331dd7334 (patch)
tree399c815e589f2c27744616dae8e824bd711d3518 /src/gallium/auxiliary
parent846b7fbc6c9cbd57eed01bd04b1da73109935091 (diff)
gallium: fix bad ptr assignment
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/draw/draw_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c
index 6e5e4d64d1..7dd1c6f6fa 100644
--- a/src/gallium/auxiliary/draw/draw_context.c
+++ b/src/gallium/auxiliary/draw/draw_context.c
@@ -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 &&