From f97f64e51032e41d5099a81eefa2a541d4dc4ace Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Wed, 17 Oct 2012 00:50:28 -0400 Subject: [PATCH] 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. --- src/glx/dri2_glx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c index a58b315..12b3026 100644 --- a/src/glx/dri2_glx.c +++ b/src/glx/dri2_glx.c @@ -1010,7 +1010,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); -- 1.7.12.1