summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-11-27 20:14:03 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-11-27 20:14:03 +0000
commitde43484c73a4e5b5b229afc3736fecbf794dc878 (patch)
tree208c0a948c0609754fb5cf92d85aa649f4002e31 /src/mesa/main
parentb5b8d22c4ee921dff99b898a5907023b20670a27 (diff)
add a few functions in add_newer_entrypoints()
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/context.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 924359a389..6248016d21 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -6,7 +6,7 @@
/*
* Mesa 3-D graphics library
- * Version: 6.1
+ * Version: 6.3
*
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
@@ -1202,10 +1202,10 @@ init_attrib_groups( GLcontext *ctx )
static void
add_newer_entrypoints(void)
{
- unsigned i;
+ unsigned i;
static const struct {
const char * const name;
- unsigned offset;
+ unsigned offset;
}
newer_entrypoints[] = {
/* GL_ARB_window_pos aliases with GL_MESA_window_pos */
@@ -1381,11 +1381,15 @@ add_newer_entrypoints(void)
#endif
{ "glMultiModeDrawArraysIBM", _gloffset_MultiModeDrawArraysIBM },
{ "glMultiModeDrawElementsIBM", _gloffset_MultiModeDrawElementsIBM },
+ /* GL_EXT_stencil_two_side */
+ { "glActiveStencilFaceEXT", _gloffset_ActiveStencilFaceEXT },
+ /* GL_ARB_draw_buffers */
+ { "glDrawBuffersARB", _gloffset_DrawBuffersARB },
};
- for ( i = 0 ; i < Elements(newer_entrypoints) ; i++ ) {
+ for (i = 0; i < Elements(newer_entrypoints); i++ ) {
_glapi_add_entrypoint( newer_entrypoints[i].name,
- newer_entrypoints[i].offset );
+ newer_entrypoints[i].offset );
}
}