From de43484c73a4e5b5b229afc3736fecbf794dc878 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 27 Nov 2004 20:14:03 +0000 Subject: add a few functions in add_newer_entrypoints() --- src/mesa/main/context.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src/mesa/main/context.c') 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 ); } } -- cgit v1.2.3