take care of PFNGLCOLORTABLEEXTPROC properly. I just hope the configure test

works for those that DO have it.
This commit is contained in:
Bill Currie 2000-11-18 04:25:01 +00:00
parent b798113da8
commit f62b1dd2d4
3 changed files with 16 additions and 3 deletions

View file

@ -326,7 +326,7 @@ void
}
#endif
#ifdef HAVE_GL_GLEXT_H
#ifdef HAVE_PFNGLCOLORTABLEEXTPROC
//#ifndef PFNGLCOLORTABLEEXTPROC
//typedef void (APIENTRY * PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
@ -390,7 +390,7 @@ VID_Init8bitPalette (void)
#ifdef HAVE_TDFXGL
3dfx_Init8bitPalette();
#else
# ifdef HAVE_GL_GLEXT_H
# ifdef HAVE_PFNGLCOLORTABLEEXTPROC
Shared_Init8bitPalette();
# endif
#endif