Mesa (master): mesa: fix wrong parameter type in set_sampler_max_lod()

Brian Paul brianp at kemper.freedesktop.org
Mon Apr 18 12:01:21 PDT 2011


Module: Mesa
Branch: master
Commit: 9418d05914bdd961cdeaf34bf09dea2a7259c05e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9418d05914bdd961cdeaf34bf09dea2a7259c05e

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Apr 18 12:43:42 2011 -0600

mesa: fix wrong parameter type in set_sampler_max_lod()

---

 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 2d3879c..4a28c91 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;



More information about the mesa-commit mailing list