diff options
Diffstat (limited to 'src/i830_dri.c')
-rw-r--r-- | src/i830_dri.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i830_dri.c b/src/i830_dri.c index 04154cc4..311aa6cd 100644 --- a/src/i830_dri.c +++ b/src/i830_dri.c @@ -1862,8 +1862,10 @@ Bool I830DRI2ScreenInit(ScreenPtr pScreen) #ifdef USE_DRI2_1_1_0 info.version = 2; +#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,7,0,0,0) info.CreateBuffers = NULL; info.DestroyBuffers = NULL; +#endif info.CreateBuffer = I830DRI2CreateBuffer; info.DestroyBuffer = I830DRI2DestroyBuffer; #else |