glx: remove unused __glXClientInfo()
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Wed, 2 Apr 2014 13:13:55 +0000 (16:13 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Wed, 2 Apr 2014 16:54:37 +0000 (19:54 +0300)
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glx/glxcmds.c

index 4b17d7cecb7287c255b6f5ec39fb25b7ea2bad3d..7984715036054a47fd30c8cd4744d3acc36a3fe1 100644 (file)
@@ -1378,19 +1378,6 @@ glXQueryServerString(Display * dpy, int screen, int name)
    return *str;
 }
 
-void
-__glXClientInfo(Display * dpy, int opcode)
-{
-   char *ext_str = __glXGetClientGLExtensionString();
-   int size = strlen(ext_str) + 1;
-
-   xcb_connection_t *c = XGetXCBConnection(dpy);
-   xcb_glx_client_info(c,
-                       GLX_MAJOR_VERSION, GLX_MINOR_VERSION, size, ext_str);
-
-   free(ext_str);
-}
-
 
 /*
 ** EXT_import_context