From 2c765b0d9a292ea93611f8e00abc5698f6fdfcea Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 5 Mar 2018 18:30:40 +0000 Subject: [PATCH] gallium/x11: remove empty GLX_SGIX_swap_group stubs The extension was never implemented. Quick search suggests: - no actual users (on my Arch setup) - the Nvidia driver does not implement the extension Signed-off-by: Emil Velikov Acked-by: Ian Romanick Acked-by: Brian Paul Reviewed-by: Adam Jackson --- src/gallium/state_trackers/glx/xlib/glx_api.c | 12 ------------ src/gallium/state_trackers/glx/xlib/glx_getproc.c | 3 --- 2 files changed, 15 deletions(-) diff --git a/src/gallium/state_trackers/glx/xlib/glx_api.c b/src/gallium/state_trackers/glx/xlib/glx_api.c index 80bf3e5494f..3bd07c280d0 100644 --- a/src/gallium/state_trackers/glx/xlib/glx_api.c +++ b/src/gallium/state_trackers/glx/xlib/glx_api.c @@ -2647,18 +2647,6 @@ glXAssociateDMPbufferSGIX(Display *dpy, GLXPbufferSGIX pbuffer, #endif -/*** GLX_SGIX_swap_group ***/ - -PUBLIC void -glXJoinSwapGroupSGIX(Display *dpy, GLXDrawable drawable, GLXDrawable member) -{ - (void) dpy; - (void) drawable; - (void) member; -} - - - /*** GLX_SUN_get_transparent_index ***/ PUBLIC Status diff --git a/src/gallium/state_trackers/glx/xlib/glx_getproc.c b/src/gallium/state_trackers/glx/xlib/glx_getproc.c index 71d3ad8c8a7..58b476341db 100644 --- a/src/gallium/state_trackers/glx/xlib/glx_getproc.c +++ b/src/gallium/state_trackers/glx/xlib/glx_getproc.c @@ -147,9 +147,6 @@ static struct name_address_pair GLX_functions[] = { { "glXAssociateDMPbufferSGIX", (__GLXextFuncPtr) glXAssociateDMPbufferSGIX }, #endif - /*** GLX_SGIX_swap_group ***/ - { "glXJoinSwapGroupSGIX", (__GLXextFuncPtr) glXJoinSwapGroupSGIX }, - /*** GLX_SUN_get_transparent_index ***/ { "glXGetTransparentIndexSUN", (__GLXextFuncPtr) glXGetTransparentIndexSUN }, -- 2.30.2