mesa: fix wrong parameter type in set_sampler_max_lod()
authorBrian Paul <brianp@vmware.com>
Mon, 18 Apr 2011 18:43:42 +0000 (12:43 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 18 Apr 2011 18:43:42 +0000 (12:43 -0600)
src/mesa/main/samplerobj.c

index 2d3879c06eddba9452eacad927cbafd587f5c5ae..4a28c917cd7ce5618e1fc48e5e170466ff8704fc 100644 (file)
@@ -481,7 +481,7 @@ set_sampler_min_lod(struct gl_context *ctx, struct gl_sampler_object *samp,
 
 static GLuint
 set_sampler_max_lod(struct gl_context *ctx, struct gl_sampler_object *samp,
-                    GLint param)
+                    GLfloat param)
 {
    if (samp->MaxLod == param)
       return GL_FALSE;