summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_context.c
diff options
context:
space:
mode:
authorStéphane Marchesin <[email protected]>2011-10-18 10:26:04 -0700
committerStéphane Marchesin <[email protected]>2011-10-25 14:30:08 -0700
commitb1d93d2aa8395608e77f1c538aa2234ced3dda75 (patch)
tree031adeca5f5dc3677ca4274c86307c49172f05fc /src/gallium/drivers/i915/i915_context.c
parent2b4ab1435f296e85103e8b0482d416824c5c1e64 (diff)
i915g: Cleanup the vertex sampler interface a bit.
Diffstat (limited to 'src/gallium/drivers/i915/i915_context.c')
-rw-r--r--src/gallium/drivers/i915/i915_context.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gallium/drivers/i915/i915_context.c b/src/gallium/drivers/i915/i915_context.c
index ff6d715b72a..5a61740422b 100644
--- a/src/gallium/drivers/i915/i915_context.c
+++ b/src/gallium/drivers/i915/i915_context.c
@@ -80,9 +80,7 @@ i915_draw_vbo(struct pipe_context *pipe, const struct pipe_draw_info *info)
draw_set_mapped_constant_buffer(draw, PIPE_SHADER_VERTEX, 0, NULL, 0);
if (i915->num_vertex_sampler_views > 0)
- i915_prepare_vertex_sampling(i915,
- i915->num_vertex_sampler_views,
- i915->vertex_sampler_views);
+ i915_prepare_vertex_sampling(i915);
/*
* Do the drawing