xlib: remove unsued _glxapi_get_extensions func
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 8 Jan 2009 16:14:01 +0000 (16:14 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 8 Jan 2009 16:14:01 +0000 (16:14 +0000)
src/gallium/state_trackers/xlib/glxapi.c
src/gallium/state_trackers/xlib/glxapi.h

index 9336daa0faa3e68a7f11d6806874b086763adcf4..a53914e1e4534352f5be946826fe4569af62e672 100644 (file)
@@ -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.
index 11740e0e0a7d0603a69aa2ae750cd2a5c9f9a1ad..712ea3f775962500276a8ec1ad2dd4d0c1dd4976 100644 (file)
@@ -206,8 +206,6 @@ extern const char *
 _glxapi_get_version(void);
 
 
-extern const char **
-_glxapi_get_extensions(void);
 
 
 extern GLuint