mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
register recent GL extensions for libGL compatibility
This commit is contained in:
parent
4d5984444e
commit
f59afc9aad
1 changed files with 11 additions and 1 deletions
|
|
@ -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 *));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue