diff options
-rw-r--r-- | src/radeon_dri2.c | 2 |
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 |