From: Brian Paul Date: Mon, 18 Apr 2011 18:43:42 +0000 (-0600) Subject: mesa: fix wrong parameter type in set_sampler_max_lod() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9418d05914bdd961cdeaf34bf09dea2a7259c05e;p=mesa.git mesa: fix wrong parameter type in set_sampler_max_lod() --- diff --git a/src/mesa/main/samplerobj.c b/src/mesa/main/samplerobj.c index 2d3879c06ed..4a28c917cd7 100644 --- a/src/mesa/main/samplerobj.c +++ b/src/mesa/main/samplerobj.c @@ -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;