summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/extensions.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>1999-09-11 11:31:34 +0000
committerBrian Paul <[email protected]>1999-09-11 11:31:34 +0000
commit585a68c82b9d87ea094143e91fab722070b3dc73 (patch)
tree67e751f2e54f4bb8cb3f82f7db351a15389ab245 /src/mesa/main/extensions.h
parented3453350a8567184975182abddd7e4008f7518d (diff)
added GL_EXT_get_proc_address
Diffstat (limited to 'src/mesa/main/extensions.h')
-rw-r--r--src/mesa/main/extensions.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/mesa/main/extensions.h b/src/mesa/main/extensions.h
index a19dc479208..c50cfc8c3c6 100644
--- a/src/mesa/main/extensions.h
+++ b/src/mesa/main/extensions.h
@@ -1,4 +1,4 @@
-/* $Id: extensions.h,v 1.1 1999/08/19 00:55:41 jtg Exp $ */
+/* $Id: extensions.h,v 1.2 1999/09/11 11:31:34 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -28,13 +28,8 @@
#ifndef _EXTENSIONS_H_
#define _EXTENSIONS_H_
-struct gl_context;
-struct extension;
+#include "types.h"
-struct gl_extensions {
- char *ext_string;
- struct extension *ext_list;
-};
#define DEFAULT_OFF 0x0
#define DEFAULT_ON 0x1
@@ -51,6 +46,8 @@ extern void gl_extensions_dtr( struct gl_context *ctx );
extern void gl_extensions_ctr( struct gl_context *ctx );
extern const char *gl_extensions_get_string( struct gl_context *ctx );
+extern void *gl_GetProcAddress( GLcontext *ctx, const GLubyte *procName );
+
#endif