summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple/i915_state_sampler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_state_sampler.c')
-rw-r--r--src/mesa/pipe/i915simple/i915_state_sampler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/i915simple/i915_state_sampler.c b/src/mesa/pipe/i915simple/i915_state_sampler.c
index 7a595d1022..419a156136 100644
--- a/src/mesa/pipe/i915simple/i915_state_sampler.c
+++ b/src/mesa/pipe/i915simple/i915_state_sampler.c
@@ -269,7 +269,7 @@ void i915_update_samplers( struct i915_context *i915 )
if (i915->texture[unit]) {
update_sampler( i915,
unit,
- i915->sampler + unit, /* sampler state */
+ i915->sampler[unit], /* sampler state */
i915->texture[unit], /* mipmap tree */
i915->current.sampler[unit] /* the result */
);