aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/common
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-30 10:24:34 -0600
committerBrian <[email protected]>2007-10-30 10:24:34 -0600
commita7f64635a640f49011cf78af766f90ae6588989a (patch)
treebbc8ea3e79fdefe59773bc9ad7840d12be11f56a /src/mesa/drivers/dri/common
parent8b8a970593cd13cd4d0fc5c27e3fd7182f631a0e (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 726d9900c3a..065c5d8dae7 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 }
};