summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-09-06 03:20:21 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-09-06 03:20:21 +0000
commit6a1e1623fd3dca1d7fc145979d9bc05146c31596 (patch)
treea05d3954aa213e144e3dbc395a935a9ce6ce342b /src
parentfdaa72bc434394755353d2b649950871001e9cbf (diff)
hook-up dispatch for glActiveStencilFaceEXT()
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/dlist.c12
-rw-r--r--src/mesa/main/state.c4
2 files changed, 5 insertions, 11 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index 488e8a0040..c7f371684e 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -1,10 +1,10 @@
-/* $Id: dlist.c,v 1.94 2002/09/06 02:56:08 brianp Exp $ */
+/* $Id: dlist.c,v 1.95 2002/09/06 03:20:21 brianp Exp $ */
/*
* Mesa 3-D graphics library
* Version: 4.1
*
- * Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -253,7 +253,7 @@ typedef enum {
OPCODE_PROGRAM_PARAMETER4F_NV,
OPCODE_PROGRAM_PARAMETERS4FV_NV,
OPCODE_TRACK_MATRIX_NV,
- /* GL_EXT_stencil_two_face */
+ /* GL_EXT_stencil_two_side */
OPCODE_ACTIVE_STENCIL_FACE_EXT,
/* The following three are meta instructions */
OPCODE_ERROR, /* raise compiled-in error */
@@ -4098,7 +4098,7 @@ save_TrackMatrixNV(GLenum target, GLuint address,
}
-/* GL_EXT_stencil_two_face */
+/* GL_EXT_stencil_two_side */
static void save_ActiveStencilFaceEXT( GLenum face )
{
GET_CURRENT_CONTEXT(ctx);
@@ -4109,9 +4109,7 @@ static void save_ActiveStencilFaceEXT( GLenum face )
n[1].e = face;
}
if (ctx->ExecuteFlag) {
-#if 0
(*ctx->Exec->ActiveStencilFaceEXT)( face );
-#endif
}
}
@@ -6204,9 +6202,7 @@ _mesa_init_dlist_table( struct _glapi_table *table, GLuint tableSize )
table->PointParameterivNV = save_PointParameterivNV;
/* 268. GL_EXT_stencil_two_side */
-#if 0
table->ActiveStencilFaceEXT = save_ActiveStencilFaceEXT;
-#endif
/* ARB 1. GL_ARB_multitexture */
table->ActiveTextureARB = save_ActiveTextureARB;
diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c
index ced61a4e49..d3d0baa934 100644
--- a/src/mesa/main/state.c
+++ b/src/mesa/main/state.c
@@ -1,4 +1,4 @@
-/* $Id: state.c,v 1.90 2002/09/06 02:56:09 brianp Exp $ */
+/* $Id: state.c,v 1.91 2002/09/06 03:20:21 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -493,9 +493,7 @@ _mesa_init_exec_table(struct _glapi_table *exec, GLuint tableSize)
exec->PointParameterivNV = _mesa_PointParameterivNV;
/* 268. GL_EXT_stencil_two_side */
-#if 0
exec->ActiveStencilFaceEXT = _mesa_ActiveStencilFaceEXT;
-#endif
/* ARB 1. GL_ARB_multitexture */
exec->ActiveTextureARB = _mesa_ActiveTextureARB;