diff options
author | Michel Dänzer <daenzer@vmware.com> | 2010-04-23 11:18:29 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2010-04-23 11:18:29 +0200 |
commit | ff20543c815a14fddad1efaaef1610454a1924d4 (patch) | |
tree | f65f496edc940c7bbd5c56601ec003a653cfb0aa /src/glx | |
parent | 749a8825a00c841b677eabace88d8d3f2ad7af13 (diff) | |
parent | c37e275e778e8c944e3dfad159b1eb94c601af60 (diff) | |
download | external_mesa3d-ff20543c815a14fddad1efaaef1610454a1924d4.zip external_mesa3d-ff20543c815a14fddad1efaaef1610454a1924d4.tar.gz external_mesa3d-ff20543c815a14fddad1efaaef1610454a1924d4.tar.bz2 |
Merge branch '7.8'
Diffstat (limited to 'src/glx')
-rw-r--r-- | src/glx/dri2_glx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c index 1faaf08..9347611 100644 --- 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; } |