diff options
author | Brian Paul <[email protected]> | 2011-04-18 12:43:42 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-04-18 12:43:42 -0600 |
commit | 9418d05914bdd961cdeaf34bf09dea2a7259c05e (patch) | |
tree | d5fdd95923cc9b6bc641d1a913fcbe0ed3fc73b7 | |
parent | 1249e54f8bfbf502f41179972644cd15d91c31dc (diff) |
mesa: fix wrong parameter type in set_sampler_max_lod()
-rw-r--r-- | src/mesa/main/samplerobj.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |