From: Brian Paul Date: Fri, 19 May 2000 15:41:09 +0000 (+0000) Subject: protect PFNGLCOLORSUBTABLEEXTPROC from multi-defined X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b1bc367ab31361a1637a98a2b516ade9ef661886;p=mesa.git protect PFNGLCOLORSUBTABLEEXTPROC from multi-defined --- diff --git a/include/GL/glext.h b/include/GL/glext.h index abfd7b86f3c..60609391659 100644 --- a/include/GL/glext.h +++ b/include/GL/glext.h @@ -1378,7 +1378,9 @@ GLAPI void APIENTRY glGetColorTableParameterfvEXT(GLenum target, GLenum pname, G GLAPI void APIENTRY glGetColorTableParameterivEXT(GLenum target, GLenum pname, GLint *params); typedef void (APIENTRY * PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); +#ifndef GL_EXT_color_subtable typedef void (APIENTRY * PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); +#endif typedef void (APIENTRY * PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); typedef void (APIENTRY * PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);