summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/glxext.c
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2010-01-20 03:01:14 +0000
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-01-25 15:40:56 -0800
commit7a9329ba99fe1242c07fbf4fd04e7a4dbeba2e72 (patch)
treed5e6f61d16534c8d8f9422a7d7a0038a55047bcf /src/glx/x11/glxext.c
parent9b22427911ad27efc1f36faee9462c6082d0417c (diff)
downloadexternal_mesa3d-7a9329ba99fe1242c07fbf4fd04e7a4dbeba2e72.zip
external_mesa3d-7a9329ba99fe1242c07fbf4fd04e7a4dbeba2e72.tar.gz
external_mesa3d-7a9329ba99fe1242c07fbf4fd04e7a4dbeba2e72.tar.bz2
mesa: misc GLX_INTEL_swap_event fixes
Fixup a few issues found through testing: - update GLX names to match glproto - register DRI2WireToEvent so it actually gets called Signed-off-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'src/glx/x11/glxext.c')
-rw-r--r--src/glx/x11/glxext.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c
index fe65216..09bb850 100644
--- a/src/glx/x11/glxext.c
+++ b/src/glx/x11/glxext.c
@@ -120,7 +120,6 @@ static /* const */ XExtensionHooks __glXExtensionHooks = {
__glXErrorString, /* error_string */
};
-static
XEXT_GENERATE_FIND_DISPLAY(__glXFindDisplay, __glXExtensionInfo,
__glXExtensionName, &__glXExtensionHooks,
__GLX_NUMBER_EVENTS, NULL)
@@ -194,11 +193,11 @@ __glXEventToWire(Display *dpy, XEvent *event, xEvent *wire)
break;
case GLX_SAVED:
break;
- case GLX_EXCHANGE_COMPLETE:
+ case GLX_EXCHANGE_COMPLETE_INTEL:
break;
- case GLX_BLIT_COMPLETE:
+ case GLX_BLIT_COMPLETE_INTEL:
break;
- case GLX_FLIP_COMPLETE:
+ case GLX_FLIP_COMPLETE_INTEL:
break;
default:
/* client doesn't support server event */