summaryrefslogtreecommitdiff
path: root/src/i830_dri.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2010-01-02 17:27:34 +0100
committerMatthieu Herrb <matthieu.herrb@laas.fr>2010-01-02 17:27:34 +0100
commit7f3f1e2d5b9a96bb0ff7fac6e488c7c9584ce72e (patch)
tree3e5c015497b684870ebfce99d8d5bfcf4761478f /src/i830_dri.c
parent63b53d39141e1ac3ec0f79347fe5490594767228 (diff)
attempt to make this build with xserver 1.7 and later.obsd-2.7
This means removing all the resource manager code.
Diffstat (limited to 'src/i830_dri.c')
-rw-r--r--src/i830_dri.c2
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