summaryrefslogtreecommitdiffstats
path: root/src/glx/x11
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2004-12-01 08:47:35 +0000
committerIan Romanick <[email protected]>2004-12-01 08:47:35 +0000
commit4f4854a4af069f7b2369a2d497c65e837b7cd046 (patch)
treef8280352a9e48381455e700255f83bedcf9c61af /src/glx/x11
parent529381ff750774a67d7f17de89e554123c221c86 (diff)
Make the transition to script-genereated GLX code easier.
Convert GL 1.4 function names to EXT_blend_func_separate names.
Diffstat (limited to 'src/glx/x11')
-rw-r--r--src/glx/x11/indirect.h4
-rw-r--r--src/glx/x11/indirect_init.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/glx/x11/indirect.h b/src/glx/x11/indirect.h
index 8b5db1b421e..a313ecf9591 100644
--- a/src/glx/x11/indirect.h
+++ b/src/glx/x11/indirect.h
@@ -326,7 +326,9 @@ glxproto_2s(EvalPoint2, X_GLrop_EvalPoint2, GLint)
glxproto_enum1_1s(AlphaFunc, X_GLrop_AlphaFunc, GLclampf)
glxproto_2s(BlendFunc, X_GLrop_BlendFunc, GLenum)
-glxproto_4s(BlendFuncSeparate, X_GLrop_BlendFuncSeparate, GLenum)
+
+#define X_GLrop_BlendFuncSeparateEXT 4134
+glxproto_4s(BlendFuncSeparateEXT, X_GLrop_BlendFuncSeparateEXT, GLenum)
glxproto_1s(LogicOp, X_GLrop_LogicOp, GLenum)
diff --git a/src/glx/x11/indirect_init.c b/src/glx/x11/indirect_init.c
index 29c2eb5d39d..a9852c3cd71 100644
--- a/src/glx/x11/indirect_init.c
+++ b/src/glx/x11/indirect_init.c
@@ -564,7 +564,7 @@ __GLapi *__glXNewIndirectAPI(void)
glAPI->FogCoordPointerEXT = __indirect_glFogCoordPointerEXT;
/* 173. GL_EXT_blend_func_separate / GL 1.4 */
- glAPI->BlendFuncSeparateEXT = __indirect_glBlendFuncSeparate;
+ glAPI->BlendFuncSeparateEXT = __indirect_glBlendFuncSeparateEXT;
/* 262. GL_NV_point_sprite / GL 1.4 */
glAPI->PointParameteriNV = __indirect_glPointParameteriNV;