Mesa (master): postprocess: remove const qualifiers on unsigned int parameters

Brian Paul brianp at kemper.freedesktop.org
Tue Nov 1 22:40:23 UTC 2011


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

Author: Brian Paul <brianp at vmware.com>
Date:   Tue Nov  1 11:34:51 2011 -0600

postprocess: remove const qualifiers on unsigned int parameters

to match the prototype in postprocess.h

---

 src/gallium/auxiliary/postprocess/pp_init.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/auxiliary/postprocess/pp_init.c b/src/gallium/auxiliary/postprocess/pp_init.c
index d5d64e8..ef127f8 100644
--- a/src/gallium/auxiliary/postprocess/pp_init.c
+++ b/src/gallium/auxiliary/postprocess/pp_init.c
@@ -194,8 +194,8 @@ pp_debug(const char *fmt, ...)
 
 /** Allocate the temp FBOs. Called on makecurrent and resize. */
 void
-pp_init_fbos(struct pp_queue_t *ppq, const unsigned int w,
-             const unsigned int h, struct pipe_resource *indepth)
+pp_init_fbos(struct pp_queue_t *ppq, unsigned int w,
+             unsigned int h, struct pipe_resource *indepth)
 {
 
    struct program *p = ppq->p;  /* The lazy will inherit the earth */




More information about the mesa-commit mailing list