From 0519f15af2fe5e7e5a6c94e7203a96fe363c643e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Tue, 7 Jul 2009 10:04:09 +0200 Subject: Fix DRI2 with current xserver Git. --- src/radeon_dri2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/radeon_dri2.c') 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 -- cgit v1.2.3