Mesa (gallium-xlib-rework): xlib: remove unsued _glxapi_get_extensions func

Keith Whitwell keithw at kemper.freedesktop.org
Thu Jan 8 16:57:31 UTC 2009


Module: Mesa
Branch: gallium-xlib-rework
Commit: 3afe1e42d79a13be203dcd8719c965111ce8bba2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3afe1e42d79a13be203dcd8719c965111ce8bba2

Author: Keith Whitwell <keith at tungstengraphics.com>
Date:   Thu Jan  8 16:14:01 2009 +0000

xlib: remove unsued _glxapi_get_extensions func

---

 src/gallium/state_trackers/xlib/glxapi.c |   36 ------------------------------
 src/gallium/state_trackers/xlib/glxapi.h |    2 -
 2 files changed, 0 insertions(+), 38 deletions(-)

diff --git a/src/gallium/state_trackers/xlib/glxapi.c b/src/gallium/state_trackers/xlib/glxapi.c
index 9336daa..a53914e 100644
--- a/src/gallium/state_trackers/xlib/glxapi.c
+++ b/src/gallium/state_trackers/xlib/glxapi.c
@@ -1102,42 +1102,6 @@ _glxapi_get_version(void)
 }
 
 
-/*
- * Return array of extension strings.
- */
-const char **
-_glxapi_get_extensions(void)
-{
-   static const char *extensions[] = {
-#ifdef GLX_EXT_import_context
-      "GLX_EXT_import_context",
-#endif
-#ifdef GLX_SGI_video_sync
-      "GLX_SGI_video_sync",
-#endif
-#ifdef GLX_MESA_copy_sub_buffer
-      "GLX_MESA_copy_sub_buffer",
-#endif
-#ifdef GLX_MESA_release_buffers
-      "GLX_MESA_release_buffers",
-#endif
-#ifdef GLX_MESA_pixmap_colormap
-      "GLX_MESA_pixmap_colormap",
-#endif
-#ifdef GLX_SGIX_fbconfig
-      "GLX_SGIX_fbconfig",
-#endif
-#ifdef GLX_SGIX_pbuffer
-      "GLX_SGIX_pbuffer",
-#endif
-#ifdef GLX_EXT_texture_from_pixmap
-      "GLX_EXT_texture_from_pixmap",
-#endif
-      NULL
-   };
-   return extensions;
-}
-
 
 /*
  * Return size of the GLX dispatch table, in entries, not bytes.
diff --git a/src/gallium/state_trackers/xlib/glxapi.h b/src/gallium/state_trackers/xlib/glxapi.h
index 11740e0..712ea3f 100644
--- a/src/gallium/state_trackers/xlib/glxapi.h
+++ b/src/gallium/state_trackers/xlib/glxapi.h
@@ -206,8 +206,6 @@ extern const char *
 _glxapi_get_version(void);
 
 
-extern const char **
-_glxapi_get_extensions(void);
 
 
 extern GLuint




More information about the mesa-commit mailing list