projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote branch 'origin/7.8'
[mesa.git]
/
src
/
glx
/
dri2_glx.c
diff --git
a/src/glx/dri2_glx.c
b/src/glx/dri2_glx.c
index 1faaf08f36606c6b4ed24f49ac202719c8d02426..9347611e7d8b5fb4de65d249c70dc9feb8d471e8 100644
(file)
--- a/
src/glx/dri2_glx.c
+++ b/
src/glx/dri2_glx.c
@@
-225,12
+225,14
@@
dri2CreateDrawable(__GLXscreenConfigs * psc,
return NULL;
}
+#ifdef X_DRI2SwapInterval
/*
* Make sure server has the same swap interval we do for the new
* drawable.
*/
if (pdp->swapAvailable)
DRI2SwapInterval(psc->dpy, xDrawable, pdraw->swap_interval);
+#endif
return &pdraw->base;
}