summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-10-19 13:35:25 -0600
committerBrian Paul <brianp@vmware.com>2010-10-19 13:35:25 -0600
commita0f10db9b609e9f53acce5a7738a3d1c5c444427 (patch)
tree87387c3804b250a2c2472104b515da63fcb5aeda
parente71f76d8d72387475d1dcf2cee183ee206ee66b4 (diff)
llvmpipe: fix wrong var name
-rw-r--r--src/gallium/drivers/llvmpipe/lp_draw_arrays.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_draw_arrays.c b/src/gallium/drivers/llvmpipe/lp_draw_arrays.c
index 5206027c2b..c1e5839f5d 100644
--- a/src/gallium/drivers/llvmpipe/lp_draw_arrays.c
+++ b/src/gallium/drivers/llvmpipe/lp_draw_arrays.c
@@ -84,7 +84,7 @@ llvmpipe_draw_vbo(struct pipe_context *pipe, const struct pipe_draw_info *info)
lp->num_vertex_sampler_views,
lp->vertex_sampler_views);
- draw_primitive_restart(sp->draw,
+ draw_primitive_restart(lp->draw,
info->primitive_restart,
info->restart_index);