From b1bc367ab31361a1637a98a2b516ade9ef661886 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 19 May 2000 15:41:09 +0000 Subject: [PATCH] protect PFNGLCOLORSUBTABLEEXTPROC from multi-defined --- include/GL/glext.h | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.30.2