i915g: add const qualifier to silence warning
authorBrian Paul <brianp@vmware.com>
Wed, 15 Jun 2011 02:47:47 +0000 (20:47 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 15 Jun 2011 02:47:47 +0000 (20:47 -0600)
src/gallium/drivers/i915/i915_state_derived.c

index bf6b30a..392ba19 100644 (file)
@@ -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++)