From dd4f70889464c9db132d75b3ab3cd3dbbdb9d3f2 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 16 Sep 1999 16:47:35 +0000 Subject: GL_EXT_get_proc_address clean-up --- include/GL/gl.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'include/GL') diff --git a/include/GL/gl.h b/include/GL/gl.h index 23aa596d37..a2c42ca6a8 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -1,4 +1,4 @@ -/* $Id: gl.h,v 1.2 1999/09/11 11:26:34 brianp Exp $ */ +/* $Id: gl.h,v 1.3 1999/09/16 16:48:27 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -2187,10 +2187,17 @@ GLAPI void GLAPIENTRY glLockArraysEXT( GLint first, GLsizei count ); GLAPI void GLAPIENTRY glUnlockArraysEXT( void ); -/* GL_EXT_get_proc_address */ -typedef void (*GLfunction)(); -GLAPI GLfunction GLAPIENTRY glGetProcAddressEXT( const GLubyte *procName ); - +/* + * GL_EXT_get_proc_address + * + * XXX this is a preliminary extension. It may change! Use at your + * own risk! Do not release code which uses this extension yet! + * If you want to try it out, #define GL_EXT_get_proc_address before + * #include + */ +#ifdef GL_EXT_get_proc_address +GLAPI void GLAPIENTRY (*glGetProcAddressEXT(const GLubyte *procName))(); +#endif #if defined(__BEOS__) || defined(__QUICKDRAW__) @@ -2224,7 +2231,6 @@ GLAPI GLfunction GLAPIENTRY glGetProcAddressEXT( const GLubyte *procName ); #define GL_PGI_misc_hints 1 #define GL_EXT_compiled_vertex_array 1 #define GL_EXT_clip_volume_hint 1 -#define GL_EXT_get_proc_address 1 #ifdef macintosh -- cgit v1.2.3