diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2010-01-02 17:27:34 +0100 |
---|---|---|
committer | Matthieu Herrb <matthieu.herrb@laas.fr> | 2010-01-02 17:27:34 +0100 |
commit | 7f3f1e2d5b9a96bb0ff7fac6e488c7c9584ce72e (patch) | |
tree | 3e5c015497b684870ebfce99d8d5bfcf4761478f /src/i830_dri.c | |
parent | 63b53d39141e1ac3ec0f79347fe5490594767228 (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.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 |