From f59afc9aad4c1600e72262e90581c424b6b01e31 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 23 May 2000 23:23:00 +0000 Subject: [PATCH] register recent GL extensions for libGL compatibility --- src/mesa/main/context.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index cb46300..60dfda5 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 *)); -- 2.7.4