Mesa (9.0): glx: Fix listing of INTEL_swap_event in glXQueryExtensionsString()

Ian Romanick idr at kemper.freedesktop.org
Fri Nov 2 19:23:37 UTC 2012


Module: Mesa
Branch: 9.0
Commit: 8aab8a50d3c56e73ea53be111bbb8b477f6e8c99
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8aab8a50d3c56e73ea53be111bbb8b477f6e8c99

Author: Owen W. Taylor <otaylor at fishsoup.net>
Date:   Wed Oct 17 00:50:28 2012 -0400

glx: Fix listing of INTEL_swap_event in glXQueryExtensionsString()

Due to a string mismatch, INTEL_swap_event wasn't listed among GLX
extensions for the connection, even when present on both client and
server. That is, glXQueryServerString and glXGetClientString reported the
extension, but glXQueryExtensionsString did not.

Note: This is a candidate for the stable branches.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56057
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
(cherry picked from commit 1d0c6211212a2d486c8f7f64349fd9683061342e)

---

 src/glx/dri2_glx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c
index 4e8b351..15f590e 100644
--- a/src/glx/dri2_glx.c
+++ b/src/glx/dri2_glx.c
@@ -961,7 +961,7 @@ dri2BindExtensions(struct dri2_screen *psc, const __DRIextension **extensions)
    __glXEnableDirectExtension(&psc->base, "GLX_SGI_make_current_read");
 
    /* FIXME: if DRI2 version supports it... */
-   __glXEnableDirectExtension(&psc->base, "INTEL_swap_event");
+   __glXEnableDirectExtension(&psc->base, "GLX_INTEL_swap_event");
 
    if (psc->dri2->base.version >= 3) {
       const unsigned mask = psc->dri2->getAPIMask(psc->driScreen);




More information about the mesa-commit mailing list