summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-08-19 01:08:24 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-08-19 01:08:24 +0000
commit9d73b81068182b72e332b762786d3e89f8dcac71 (patch)
tree61d329475e964618cd74c3ded2a28b378155ba3c
parentd4576154e60d1cc574de15e76fea8fd26c45e230 (diff)
Fix glPixelMap: s/GLint/GLsizei/
-rw-r--r--include/GL/gl.h6
-rw-r--r--src/mesa/main/pixel.c10
-rw-r--r--src/mesa/main/pixel.h10
3 files changed, 13 insertions, 13 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 4bcd43e41c4..52765c37b45 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -1197,11 +1197,11 @@ GLAPI void GLAPIENTRY glPixelStorei( GLenum pname, GLint param );
GLAPI void GLAPIENTRY glPixelTransferf( GLenum pname, GLfloat param );
GLAPI void GLAPIENTRY glPixelTransferi( GLenum pname, GLint param );
-GLAPI void GLAPIENTRY glPixelMapfv( GLenum map, GLint mapsize,
+GLAPI void GLAPIENTRY glPixelMapfv( GLenum map, GLsizei mapsize,
const GLfloat *values );
-GLAPI void GLAPIENTRY glPixelMapuiv( GLenum map, GLint mapsize,
+GLAPI void GLAPIENTRY glPixelMapuiv( GLenum map, GLsizei mapsize,
const GLuint *values );
-GLAPI void GLAPIENTRY glPixelMapusv( GLenum map, GLint mapsize,
+GLAPI void GLAPIENTRY glPixelMapusv( GLenum map, GLsizei mapsize,
const GLushort *values );
GLAPI void GLAPIENTRY glGetPixelMapfv( GLenum map, GLfloat *values );
diff --git a/src/mesa/main/pixel.c b/src/mesa/main/pixel.c
index 80ddeb270bd..e0c792b4f18 100644
--- a/src/mesa/main/pixel.c
+++ b/src/mesa/main/pixel.c
@@ -1,9 +1,9 @@
/*
* Mesa 3-D graphics library
- * Version: 4.1
+ * Version: 5.1
*
- * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -255,7 +255,7 @@ _mesa_PixelStoref( GLenum pname, GLfloat param )
void
-_mesa_PixelMapfv( GLenum map, GLint mapsize, const GLfloat *values )
+_mesa_PixelMapfv( GLenum map, GLsizei mapsize, const GLfloat *values )
{
GLint i;
GET_CURRENT_CONTEXT(ctx);
@@ -353,7 +353,7 @@ _mesa_PixelMapfv( GLenum map, GLint mapsize, const GLfloat *values )
void
-_mesa_PixelMapuiv(GLenum map, GLint mapsize, const GLuint *values )
+_mesa_PixelMapuiv(GLenum map, GLsizei mapsize, const GLuint *values )
{
const GLint n = MIN2(mapsize, MAX_PIXEL_MAP_TABLE);
GLfloat fvalues[MAX_PIXEL_MAP_TABLE];
@@ -374,7 +374,7 @@ _mesa_PixelMapuiv(GLenum map, GLint mapsize, const GLuint *values )
void
-_mesa_PixelMapusv(GLenum map, GLint mapsize, const GLushort *values )
+_mesa_PixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values )
{
const GLint n = MIN2(mapsize, MAX_PIXEL_MAP_TABLE);
GLfloat fvalues[MAX_PIXEL_MAP_TABLE];
diff --git a/src/mesa/main/pixel.h b/src/mesa/main/pixel.h
index e5594537693..e41d6b1d83f 100644
--- a/src/mesa/main/pixel.h
+++ b/src/mesa/main/pixel.h
@@ -5,9 +5,9 @@
/*
* Mesa 3-D graphics library
- * Version: 3.5
+ * Version: 5.1
*
- * Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -48,13 +48,13 @@ extern void
_mesa_GetPixelMapusv( GLenum map, GLushort *values );
extern void
-_mesa_PixelMapfv( GLenum map, GLint mapsize, const GLfloat *values );
+_mesa_PixelMapfv( GLenum map, GLsizei mapsize, const GLfloat *values );
extern void
-_mesa_PixelMapuiv(GLenum map, GLint mapsize, const GLuint *values );
+_mesa_PixelMapuiv(GLenum map, GLsizei mapsize, const GLuint *values );
extern void
-_mesa_PixelMapusv(GLenum map, GLint mapsize, const GLushort *values );
+_mesa_PixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values );
extern void
_mesa_PixelStoref( GLenum pname, GLfloat param );