diff options
author | Brian Paul <[email protected]> | 2011-06-14 20:47:47 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-06-14 20:47:47 -0600 |
commit | 34a774797c17855043c8e1f701ada7f7aca39701 (patch) | |
tree | cfc2431ffd3661bc3b7b66d45d45d58de6915e80 /src/gallium | |
parent | d9ca94836ee99c87841e24bfa23a6fab9464d04d (diff) |
i915g: add const qualifier to silence warning
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/i915/i915_state_derived.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_state_derived.c b/src/gallium/drivers/i915/i915_state_derived.c index bf6b30a4530..392ba191140 100644 --- a/src/gallium/drivers/i915/i915_state_derived.c +++ b/src/gallium/drivers/i915/i915_state_derived.c @@ -35,7 +35,7 @@ #include "i915_debug.h" #include "i915_reg.h" -static uint find_mapping(struct i915_fragment_shader* fs, int unit) +static uint find_mapping(const struct i915_fragment_shader* fs, int unit) { int i; for (i = 0; i < I915_TEX_UNITS ; i++) |