aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/x11/dri2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/x11/dri2.c')
-rw-r--r--src/glx/x11/dri2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glx/x11/dri2.c b/src/glx/x11/dri2.c
index dc60af90c15..5acf7ac5311 100644
--- a/src/glx/x11/dri2.c
+++ b/src/glx/x11/dri2.c
@@ -36,7 +36,6 @@
#include <X11/extensions/Xext.h>
#include <X11/extensions/extutil.h>
#include <X11/extensions/dri2proto.h>
-#include "glheader.h"
#include "xf86drm.h"
#include "dri2.h"
@@ -289,7 +288,7 @@ void DRI2DestroyDrawable(Display *dpy, XID drawable)
XextSimpleCheckExtension (dpy, info, dri2ExtensionName);
- XSync(dpy, GL_FALSE);
+ XSync(dpy, False);
LockDisplay(dpy);
GetReq(DRI2DestroyDrawable, req);