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 bf6b30a4530ddd6dc3e1753bbbbe195248a40c23..392ba1911403a7a0d310374edede4dade8bd8a1f 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++)