softpipe: fix texture view crashes
[mesa.git] / src / gallium / drivers / softpipe / sp_state_derived.c
index 0083e332785e4be9338821856e66f3bed7af9874..f34997ab3d0b6114c339dffed7eaf3741a8e61ac 100644 (file)
@@ -282,7 +282,7 @@ compute_cliprect(struct softpipe_context *sp)
 
 static void
 set_shader_sampler(struct softpipe_context *softpipe,
-                   unsigned shader,
+                   enum pipe_shader_type shader,
                    int max_sampler)
 {
    int i;