diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-05-23 23:23:00 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-05-23 23:23:00 +0000 |
commit | f59afc9aad4c1600e72262e90581c424b6b01e31 (patch) | |
tree | 03fafcff3369808b7cea4930a3ff445d284492a4 /src/mesa/main | |
parent | 4d5984444e10c950e665c6c42bf366bd4315cfff (diff) |
register recent GL extensions for libGL compatibility
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/context.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index cb463003c8..60dfda5791 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1,4 +1,4 @@ -/* $Id: context.c,v 1.67 2000/05/23 20:10:49 brianp Exp $ */ +/* $Id: context.c,v 1.68 2000/05/23 23:23:00 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1411,6 +1411,16 @@ _mesa_initialize_context( GLcontext *ctx, return GL_FALSE; } + /* register the most recent extension functions with libGL */ + _glapi_add_entrypoint("glTbufferMask3DFX", 553); + _glapi_add_entrypoint("glCompressedTexImage3DARB", 554); + _glapi_add_entrypoint("glCompressedTexImage2DARB", 555); + _glapi_add_entrypoint("glCompressedTexImage1DARB", 556); + _glapi_add_entrypoint("glCompressedTexSubImage3DARB", 557); + _glapi_add_entrypoint("glCompressedTexSubImage2DARB", 558); + _glapi_add_entrypoint("glCompressedTexSubImage1DARB", 559); + _glapi_add_entrypoint("glGetCompressedTexImageARB", 560); + /* setup API dispatch tables */ ctx->Exec = (struct _glapi_table *) CALLOC(_glapi_get_dispatch_table_size() * sizeof(void *)); ctx->Save = (struct _glapi_table *) CALLOC(_glapi_get_dispatch_table_size() * sizeof(void *)); |