summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/glxapi.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-11-29 15:15:19 +0000
committerEmil Velikov <[email protected]>2017-12-01 19:30:23 +0000
commitf8aea0ce47a84e7991958e5d79e7b04e799eda68 (patch)
tree580af7975265e89edffb3e13513a1b2abf6e59f4 /src/mesa/drivers/x11/glxapi.c
parent7a4107291d1545fbdd9f144cac76a89e9f49b634 (diff)
xlib: remove dummy GLX_MESA_set_3dfx_mode implementation
The implementation is a simple 'return EGL_FALSE'. Stop pretending and simply remove it. Note: the removal of XMesa API is fine, since there hasn't been any users for it in years. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Adam Jackson <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/x11/glxapi.c')
-rw-r--r--src/mesa/drivers/x11/glxapi.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mesa/drivers/x11/glxapi.c b/src/mesa/drivers/x11/glxapi.c
index 40d73006bbe..e84e2386733 100644
--- a/src/mesa/drivers/x11/glxapi.c
+++ b/src/mesa/drivers/x11/glxapi.c
@@ -1004,21 +1004,6 @@ glXCreateGLXPixmapMESA(Display *dpy, XVisualInfo *visinfo, Pixmap pixmap, Colorm
-/*** GLX_MESA_set_3dfx_mode ***/
-
-Bool PUBLIC
-glXSet3DfxModeMESA(int mode)
-{
- struct _glxapi_table *t;
- Display *dpy = glXGetCurrentDisplay();
- GET_DISPATCH(dpy, t);
- if (!t)
- return False;
- return t->Set3DfxModeMESA(mode);
-}
-
-
-
/*** GLX_EXT_texture_from_pixmap */
void PUBLIC
@@ -1065,7 +1050,6 @@ _glxapi_get_extensions(void)
"GLX_MESA_copy_sub_buffer",
"GLX_MESA_release_buffers",
"GLX_MESA_pixmap_colormap",
- "GLX_MESA_set_3dfx_mode",
"GLX_SGIX_fbconfig",
"GLX_SGIX_pbuffer",
"GLX_EXT_texture_from_pixmap",
@@ -1237,9 +1221,6 @@ static struct name_address_pair GLX_functions[] = {
/*** GLX_MESA_release_buffers ***/
{ "glXReleaseBuffersMESA", (__GLXextFuncPtr) glXReleaseBuffersMESA },
- /*** GLX_MESA_set_3dfx_mode ***/
- { "glXSet3DfxModeMESA", (__GLXextFuncPtr) glXSet3DfxModeMESA },
-
/*** GLX_ARB_get_proc_address ***/
{ "glXGetProcAddressARB", (__GLXextFuncPtr) glXGetProcAddressARB },