Browse Source

replaced _GLAPI_EXT_color_table with _GLAPI_EXT_paletted_texture

tags/mesa_3_3
Brian Paul 26 years ago
parent
commit
4586d8769b
2 changed files with 9 additions and 9 deletions
  1. 5
    5
      src/mesa/glapi/glapi.c
  2. 4
    4
      src/mesa/glapi/glapi.h

+ 5
- 5
src/mesa/glapi/glapi.c View File

@@ -1,4 +1,4 @@
/* $Id: glapi.c,v 1.6 1999/11/12 18:27:27 brianp Exp $ */
/* $Id: glapi.c,v 1.7 1999/11/12 18:57:50 brianp Exp $ */

/*
* Mesa 3-D graphics library
@@ -2078,7 +2078,7 @@ void GLAPIENTRY glCopyTexSubImage3DEXT(GLenum target, GLint level, GLint xoffset



#ifdef _GLAPI_EXT_color_table
#ifdef _GLAPI_EXT_paletted_texture

void GLAPIENTRY glColorTableEXT(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table)
{
@@ -2105,7 +2105,7 @@ void GLAPIENTRY glGetColorTableParameterivEXT(GLenum target, GLenum pname, GLint
DISPATCH(GetColorTableParameterivEXT)(target, pname, params);
}

#endif /* GL_EXT_color_table */
#endif /* GL_EXT_paletted_texture */



@@ -2854,7 +2854,7 @@ static struct _glapi_table completeness_test = {
* Extensions
*/

#ifdef _GLAPI_EXT_color_table
#ifdef _GLAPI_EXT_paletted_texture
glColorTableEXT,
glColorSubTableEXT,
glGetColorTableEXT,
@@ -3433,7 +3433,7 @@ _glapi_check_table(const struct _glapi_table *table)
#endif


#ifdef _GLAPI_EXT_color_table
#ifdef _GLAPI_EXT_paletted_texture
assert(table->ColorTableEXT);
assert(table->ColorSubTableEXT);
assert(table->GetColorTableEXT);

+ 4
- 4
src/mesa/glapi/glapi.h View File

@@ -1,4 +1,4 @@
/* $Id: glapi.h,v 1.1 1999/11/11 01:22:26 brianp Exp $ */
/* $Id: glapi.h,v 1.2 1999/11/12 18:57:50 brianp Exp $ */

/*
* Mesa 3-D graphics library
@@ -50,8 +50,8 @@

/* And which extensions: */
#define _GLAPI_ARB_imaging 1
#define _GLAPI_ARB_multitexture 1
#define _GLAPI_EXT_color_table 1
#define _GLAPI_ARB_multitexture 1
#define _GLAPI_EXT_paletted_texture 1
#define _GLAPI_EXT_compiled_vertex_array 1
#define _GLAPI_EXT_point_parameters 1
#define _GLAPI_EXT_polygon_offset 1
@@ -472,7 +472,7 @@ struct _glapi_table
* Extensions
*/

#ifdef _GLAPI_EXT_color_table
#ifdef _GLAPI_EXT_paletted_texture
void (*ColorTableEXT)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
void (*ColorSubTableEXT)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
void (*GetColorTableEXT)(GLenum, GLenum, GLenum, GLvoid *);

Loading…
Cancel
Save