Mesa (master): glx: Remove some ancient backwards-compatibility typedefs

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Apr 16 10:43:37 UTC 2021


Module: Mesa
Branch: master
Commit: 7ae2ba5da9a014bd1dbde842d4c24e16d24e3554
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7ae2ba5da9a014bd1dbde842d4c24e16d24e3554

Author: Adam Jackson <ajax at redhat.com>
Date:   Tue Apr 13 18:58:54 2021 -0400

glx: Remove some ancient backwards-compatibility typedefs

Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10223>

---

 src/glx/glxextensions.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/glx/glxextensions.h b/src/glx/glxextensions.h
index 387b9fa4800..96022477e81 100644
--- a/src/glx/glxextensions.h
+++ b/src/glx/glxextensions.h
@@ -279,12 +279,6 @@ extern GLboolean __glExtensionBitIsEnabled(struct glx_context *gc,
 extern void
 __glXEnableDirectExtension(struct glx_screen *psc, const char *name);
 
-/* Source-level backwards compatibility with old drivers. They won't
- * find the respective functions, though. 
- */
-typedef void (*PFNGLXENABLEEXTENSIONPROC) (const char *name,
-                                           GLboolean force_client);
-typedef void (*PFNGLXDISABLEEXTENSIONPROC) (const char *name);
 
 /* GLX_ALIAS should be used for functions with a non-void return type.
    GLX_ALIAS_VOID is for functions with a void return type. */



More information about the mesa-commit mailing list