diff options
author | Eric Anholt <[email protected]> | 2011-08-05 12:47:25 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-08-05 12:56:12 -0700 |
commit | a9e97d022cb68266639eb54947517454c8ffe45e (patch) | |
tree | 1106fe7f4403e45e94387f3eaad7dbce89b2529f /src/mesa/drivers/dri/i915 | |
parent | 5164244df02f33d6ad9e0a286f4b6d6af2dfbc75 (diff) |
intel: Fix warnings from gl_constant_parameter changes.
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_fragprog.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_fragprog.c b/src/mesa/drivers/dri/i915/i915_fragprog.c index 32050cebf33..d155b85ffca 100644 --- a/src/mesa/drivers/dri/i915/i915_fragprog.c +++ b/src/mesa/drivers/dri/i915/i915_fragprog.c @@ -175,10 +175,8 @@ src_vector(struct i915_fragment_program *p, case PROGRAM_STATE_VAR: case PROGRAM_NAMED_PARAM: case PROGRAM_UNIFORM: - src = - i915_emit_param4fv(p, - program->Base.Parameters->ParameterValues[source-> - Index]); + src = i915_emit_param4fv(p, + &program->Base.Parameters->ParameterValues[source->Index][0].f); break; default: |