summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-10-30 10:24:34 -0600
committerRoland Scheidegger <sroland@tungstengraphics.com>2008-04-04 12:44:14 +0200
commit9edac96d69b6f9942c170c573c9aba4c35550639 (patch)
tree41335b82279dbf95518b60367b33a2a79d75b18f /src/mesa/drivers/dri/common
parentcdbfae9bef6645160904b7ef32c26c4e38ca37df (diff)
Alias glStencilOpSeparateATI with glStencilOpSeparate.
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r--src/mesa/drivers/dri/common/extension_helper.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/mesa/drivers/dri/common/extension_helper.h b/src/mesa/drivers/dri/common/extension_helper.h
index 726d9900c3..065c5d8dae 100644
--- a/src/mesa/drivers/dri/common/extension_helper.h
+++ b/src/mesa/drivers/dri/common/extension_helper.h
@@ -1105,10 +1105,11 @@ static const char IsRenderbufferEXT_names[] =
"";
#endif
-#if defined(need_GL_VERSION_2_0)
+#if defined(need_GL_VERSION_2_0) || defined(need_GL_ATI_separate_stencil)
static const char StencilOpSeparate_names[] =
"iiii\0" /* Parameter signature */
"glStencilOpSeparate\0"
+ "glStencilOpSeparateATI\0"
"";
#endif
@@ -3839,13 +3840,6 @@ static const char Binormal3svEXT_names[] =
"";
#endif
-#if defined(need_GL_ATI_separate_stencil)
-static const char StencilOpSeparateATI_names[] =
- "iiii\0" /* Parameter signature */
- "glStencilOpSeparateATI\0"
- "";
-#endif
-
#if defined(need_GL_EXT_light_texture)
static const char ApplyTextureEXT_names[] =
"i\0" /* Parameter signature */
@@ -5198,7 +5192,7 @@ static const struct dri_extension_function GL_ATI_fragment_shader_functions[] =
#if defined(need_GL_ATI_separate_stencil)
static const struct dri_extension_function GL_ATI_separate_stencil_functions[] = {
- { StencilOpSeparateATI_names, StencilOpSeparateATI_remap_index, -1 },
+ { StencilOpSeparate_names, StencilOpSeparate_remap_index, -1 },
{ StencilFuncSeparateATI_names, StencilFuncSeparateATI_remap_index, -1 },
{ NULL, 0, 0 }
};