summaryrefslogtreecommitdiffstats
path: root/src/glx/apple
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-12-05 19:52:45 +0000
committerEmil Velikov <[email protected]>2017-01-18 16:01:14 +0000
commit3ecd6c6abdf16b3639ee741dde234c85747dcaf2 (patch)
treefceb6b17afe8daed294733df06a9f4fc7a811f35 /src/glx/apple
parent9898bcf3f46a60d121c4b5aa37ea1dea417b3547 (diff)
glx: unify GLX_SGIX_pbuffer aliased declarations
No point in having an identical code in two places. Not to mention that the Apple one incorrectly uses GLXDrawable as pbuf type. This change is both API and ABI safe since the header uses the correct GLXPbufferSGIX and both types are a typedef of the same primitive XID. Cc: Jeremy Huddleston Sequoia <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Jeremy Sequoia <[email protected]>
Diffstat (limited to 'src/glx/apple')
-rw-r--r--src/glx/apple/glx_empty.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/glx/apple/glx_empty.c b/src/glx/apple/glx_empty.c
index 1e9593c6d45..33fffb5f61c 100644
--- a/src/glx/apple/glx_empty.c
+++ b/src/glx/apple/glx_empty.c
@@ -263,19 +263,3 @@ glXGetFBConfigFromVisualSGIX(Display * dpy, XVisualInfo * visinfo)
return NULL;
}
#endif
-
-
-_X_EXPORT
-GLX_ALIAS_VOID(glXDestroyGLXPbufferSGIX,
- (Display * dpy, GLXDrawable pbuf),
- (dpy, pbuf), glXDestroyPbuffer)
-
- _X_EXPORT GLX_ALIAS_VOID(glXSelectEventSGIX,
- (Display * dpy, GLXDrawable drawable,
- unsigned long mask), (dpy, drawable, mask),
- glXSelectEvent)
-
- _X_EXPORT GLX_ALIAS_VOID(glXGetSelectedEventSGIX,
- (Display * dpy, GLXDrawable drawable,
- unsigned long *mask), (dpy, drawable, mask),
- glXGetSelectedEvent)