summaryrefslogtreecommitdiff
path: root/src/mesa/glapi
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-03-20 23:58:15 +0800
committerChia-I Wu <olv@lunarg.com>2010-03-21 00:05:01 +0800
commit6fed3a9fa0a87ae797f995de5b51eb9be3493fe0 (patch)
tree14b621734acc63073cdeb6970f8933c203dc98f7 /src/mesa/glapi
parent41a87a43e11c664935349f938022d58d3e22da4e (diff)
glapi: Fix aliases to non-static functions.
The bug is triggered by 41a87a43e11c664935349f938022d58d3e22da4e. glBlitFramebuffer, for example, is an alias to the non-static glBlitFramebufferEXT. We should define glBlitFramebuffer as an alias to _dispatch_stub_NNN.
Diffstat (limited to 'src/mesa/glapi')
-rw-r--r--src/mesa/glapi/gen/gl_x86_asm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/glapi/gen/gl_x86_asm.py b/src/mesa/glapi/gen/gl_x86_asm.py
index 7fb7af50b5..10dfa1ddb3 100644
--- a/src/mesa/glapi/gen/gl_x86_asm.py
+++ b/src/mesa/glapi/gen/gl_x86_asm.py
@@ -230,7 +230,7 @@ class PrintGenericStubs(gl_XML.gl_print_base):
if f.is_static_entry_point(n):
if n != f.name:
alt2 = "%s@%u" % (n, stack)
- text = '\tGL_STUB_ALIAS(%s, _gloffset_%s, %s, %s, %s)' % (n, f.name, alt2, f.name, alt)
+ text = '\tGL_STUB_ALIAS(%s, _gloffset_%s, %s, %s, %s)' % (n, f.name, alt2, name, alt)
if f.has_different_protocol(n):
print '#ifndef GLX_INDIRECT_RENDERING'