diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2009-01-08 16:14:01 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2009-01-08 16:14:01 +0000 |
commit | 3afe1e42d79a13be203dcd8719c965111ce8bba2 (patch) | |
tree | 46a9724f072bb273df21278a9a32f6b6bce7381b /src/gallium | |
parent | ee2876316a541c7513cc902f106a00890c625f9f (diff) |
xlib: remove unsued _glxapi_get_extensions func
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/xlib/glxapi.c | 36 | ||||
-rw-r--r-- | 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 9336daa0fa..a53914e1e4 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 11740e0e0a..712ea3f775 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 |