summaryrefslogtreecommitdiff
path: root/src/radeon_dri2.c
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-07-07 10:04:09 +0200
committerMichel Dänzer <michel@daenzer.net>2009-07-07 10:04:09 +0200
commit0519f15af2fe5e7e5a6c94e7203a96fe363c643e (patch)
tree387870e75a15db4950437212b71996224481c02e /src/radeon_dri2.c
parent7ad11fec2579807371360cb680e593f723ebaa1a (diff)
Fix DRI2 with current xserver Git.
Diffstat (limited to 'src/radeon_dri2.c')
-rw-r--r--src/radeon_dri2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
index 37b47fe6..4770ba3c 100644
--- a/src/radeon_dri2.c
+++ b/src/radeon_dri2.c
@@ -308,7 +308,7 @@ radeon_dri2_screen_init(ScreenPtr pScreen)
dri2_info.CreateBuffers = radeon_dri2_create_buffers;
dri2_info.DestroyBuffers = radeon_dri2_destroy_buffers;
#else
- dri2_info.version = 2;
+ dri2_info.version = DRI2INFOREC_VERSION;
dri2_info.CreateBuffer = radeon_dri2_create_buffer;
dri2_info.DestroyBuffer = radeon_dri2_destroy_buffer;
#endif