diff options
author | Michel Dänzer <[email protected]> | 2010-04-23 11:18:29 +0200 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2010-04-23 11:18:29 +0200 |
commit | ff20543c815a14fddad1efaaef1610454a1924d4 (patch) | |
tree | f65f496edc940c7bbd5c56601ec003a653cfb0aa /src/glx/dri2_glx.c | |
parent | 749a8825a00c841b677eabace88d8d3f2ad7af13 (diff) | |
parent | c37e275e778e8c944e3dfad159b1eb94c601af60 (diff) |
Merge branch '7.8'
Diffstat (limited to 'src/glx/dri2_glx.c')
-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 1faaf08f366..9347611e7d8 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; } |