mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
glPixelMap[f/ui/us]v()'s size parameter is GLsizei, not GLint.
This commit is contained in:
parent
bb93870133
commit
d4576154e6
3 changed files with 27 additions and 10 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# $Id: APIspec,v 1.18 2003/06/13 02:37:28 brianp Exp $
|
||||
# $Id: APIspec,v 1.19 2003/08/19 01:07:26 brianp Exp $
|
||||
|
||||
# This file describes all the OpenGL functions.
|
||||
# We use a number of Python scripts to parse this file and
|
||||
|
|
@ -1811,7 +1811,7 @@ offset 250
|
|||
name PixelMapfv
|
||||
return void
|
||||
param map GLenum
|
||||
param mapsize GLint
|
||||
param mapsize GLsizei
|
||||
param values const GLfloat *
|
||||
category 1.0
|
||||
offset 251
|
||||
|
|
@ -1819,7 +1819,7 @@ offset 251
|
|||
name PixelMapuiv
|
||||
return void
|
||||
param map GLenum
|
||||
param mapsize GLint
|
||||
param mapsize GLsizei
|
||||
param values const GLuint *
|
||||
category 1.0
|
||||
offset 252
|
||||
|
|
@ -1827,7 +1827,7 @@ offset 252
|
|||
name PixelMapusv
|
||||
return void
|
||||
param map GLenum
|
||||
param mapsize GLint
|
||||
param mapsize GLsizei
|
||||
param values const GLushort *
|
||||
category 1.0
|
||||
offset 253
|
||||
|
|
@ -4173,12 +4173,18 @@ param params GLint *
|
|||
category GL_SGI_color_table
|
||||
offset 429
|
||||
|
||||
|
||||
# GL_SGIX_pixel_texture
|
||||
|
||||
name PixelTexGenSGIX
|
||||
return void
|
||||
param mode GLenum
|
||||
category GL_SGIX_pixel_texture
|
||||
offset 430
|
||||
|
||||
|
||||
# GL_SGIS_pixel_texture
|
||||
|
||||
name PixelTexGenParameteriSGIS
|
||||
return void
|
||||
param pname GLenum
|
||||
|
|
@ -5532,11 +5538,16 @@ category GL_EXT_coordinate_frame
|
|||
offset ?
|
||||
|
||||
|
||||
# GL_SUNX_constant_data
|
||||
|
||||
name FinishTextureSUNX
|
||||
return void
|
||||
category GL_SUNX_constant_data
|
||||
offset ?
|
||||
|
||||
|
||||
# GL_SUN_global_alpha
|
||||
|
||||
name GlobalAlphaFactorbSUN
|
||||
return void
|
||||
param factor GLbyte
|
||||
|
|
@ -5585,6 +5596,9 @@ param factor GLuint
|
|||
category GL_SUN_global_alpha
|
||||
offset ?
|
||||
|
||||
|
||||
# GL_SUN_triangle_list
|
||||
|
||||
name ReplacementCodeuiSUN
|
||||
return void
|
||||
param code GLuint
|
||||
|
|
@ -5629,6 +5643,9 @@ param pointer const GLvoid *
|
|||
category GL_SUN_triangle_list
|
||||
offset ?
|
||||
|
||||
|
||||
# GL_SUN_vertex
|
||||
|
||||
name Color4ubVertex2fSUN
|
||||
return void
|
||||
param r GLubyte
|
||||
|
|
|
|||
|
|
@ -257,9 +257,9 @@ struct _glapi_table
|
|||
void (*PixelTransferi)(GLenum pname, GLint param); /* 248 */
|
||||
void (*PixelStoref)(GLenum pname, GLfloat param); /* 249 */
|
||||
void (*PixelStorei)(GLenum pname, GLint param); /* 250 */
|
||||
void (*PixelMapfv)(GLenum map, GLint mapsize, const GLfloat * values); /* 251 */
|
||||
void (*PixelMapuiv)(GLenum map, GLint mapsize, const GLuint * values); /* 252 */
|
||||
void (*PixelMapusv)(GLenum map, GLint mapsize, const GLushort * values); /* 253 */
|
||||
void (*PixelMapfv)(GLenum map, GLsizei mapsize, const GLfloat * values); /* 251 */
|
||||
void (*PixelMapuiv)(GLenum map, GLsizei mapsize, const GLuint * values); /* 252 */
|
||||
void (*PixelMapusv)(GLenum map, GLsizei mapsize, const GLushort * values); /* 253 */
|
||||
void (*ReadBuffer)(GLenum mode); /* 254 */
|
||||
void (*CopyPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); /* 255 */
|
||||
void (*ReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels); /* 256 */
|
||||
|
|
|
|||
|
|
@ -1303,17 +1303,17 @@ KEYWORD1 void KEYWORD2 NAME(PixelStorei)(GLenum pname, GLint param)
|
|||
DISPATCH(PixelStorei, (pname, param), (F, "glPixelStorei(0x%x, %d);\n", pname, param));
|
||||
}
|
||||
|
||||
KEYWORD1 void KEYWORD2 NAME(PixelMapfv)(GLenum map, GLint mapsize, const GLfloat * values)
|
||||
KEYWORD1 void KEYWORD2 NAME(PixelMapfv)(GLenum map, GLsizei mapsize, const GLfloat * values)
|
||||
{
|
||||
DISPATCH(PixelMapfv, (map, mapsize, values), (F, "glPixelMapfv(0x%x, %d, %p);\n", map, mapsize, (const void *) values));
|
||||
}
|
||||
|
||||
KEYWORD1 void KEYWORD2 NAME(PixelMapuiv)(GLenum map, GLint mapsize, const GLuint * values)
|
||||
KEYWORD1 void KEYWORD2 NAME(PixelMapuiv)(GLenum map, GLsizei mapsize, const GLuint * values)
|
||||
{
|
||||
DISPATCH(PixelMapuiv, (map, mapsize, values), (F, "glPixelMapuiv(0x%x, %d, %p);\n", map, mapsize, (const void *) values));
|
||||
}
|
||||
|
||||
KEYWORD1 void KEYWORD2 NAME(PixelMapusv)(GLenum map, GLint mapsize, const GLushort * values)
|
||||
KEYWORD1 void KEYWORD2 NAME(PixelMapusv)(GLenum map, GLsizei mapsize, const GLushort * values)
|
||||
{
|
||||
DISPATCH(PixelMapusv, (map, mapsize, values), (F, "glPixelMapusv(0x%x, %d, %p);\n", map, mapsize, (const void *) values));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue