From: Juha-Pekka Heikkila Date: Wed, 2 Apr 2014 13:13:55 +0000 (+0300) Subject: glx: remove unused __glXClientInfo() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=88976daea950937749b8b9f122b8d038606942a4;p=mesa.git glx: remove unused __glXClientInfo() Signed-off-by: Juha-Pekka Heikkila Reviewed-by: Matt Turner --- diff --git a/src/glx/glxcmds.c b/src/glx/glxcmds.c index 4b17d7cecb7..79847150360 100644 --- a/src/glx/glxcmds.c +++ b/src/glx/glxcmds.c @@ -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