summaryrefslogtreecommitdiff
path: root/src/glx/x11/glxext.c
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-02-08 23:15:03 +0100
committerKeith Whitwell <keithw@vmware.com>2010-02-08 23:29:15 +0000
commit8b0b5ace4871847f7d8608e0ce6f67b7c5731ea7 (patch)
treeec8c93fdf95eb7cb6f70b340510a6c8ce44b78a8 /src/glx/x11/glxext.c
parentc61bf363937f40624a5632745630d4f2b9907082 (diff)
glx: Fix SwapBuffers regression introduced by 01923fb72d.
After that commit, some dri2 protocol symbols were being checked from places that weren't including dri2proto.h, effectively disabling some valuable SwapBuffers codepaths.
Diffstat (limited to 'src/glx/x11/glxext.c')
-rw-r--r--src/glx/x11/glxext.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c
index dde694b9f8..c2de1a3fff 100644
--- a/src/glx/x11/glxext.c
+++ b/src/glx/x11/glxext.c
@@ -41,6 +41,7 @@
#include "glxclient.h"
#include <X11/extensions/Xext.h>
#include <X11/extensions/extutil.h>
+#include <X11/extensions/dri2proto.h>
#include "glxextensions.h"
#include "glcontextmodes.h"