mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-30 08:40:39 +00:00
take care of PFNGLCOLORTABLEEXTPROC properly. I just hope the configure test
works for those that DO have it.
This commit is contained in:
parent
b798113da8
commit
f62b1dd2d4
3 changed files with 16 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue