summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-06-14 20:47:47 -0600
committerBrian Paul <[email protected]>2011-06-14 20:47:47 -0600
commit34a774797c17855043c8e1f701ada7f7aca39701 (patch)
treecfc2431ffd3661bc3b7b66d45d45d58de6915e80 /src/gallium/drivers/i915
parentd9ca94836ee99c87841e24bfa23a6fab9464d04d (diff)
i915g: add const qualifier to silence warning
Diffstat (limited to 'src/gallium/drivers/i915')
-rw-r--r--src/gallium/drivers/i915/i915_state_derived.c2
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++)