radeon: allow driconf vblank settings with dri2
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 15 Jul 2010 18:47:06 +0000 (14:47 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Thu, 15 Jul 2010 18:47:06 +0000 (14:47 -0400)
fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=28771

NOTE: This is a candidate for the 7.8 branch.

src/mesa/drivers/dri/radeon/radeon_screen.c

index 4f59511a528218684bd3f3dffc2341835ee190e8..956ffeb268333811c708f043e4173872e73f66c2 100644 (file)
@@ -1368,6 +1368,7 @@ radeonCreateScreen2(__DRIscreen *sPriv)
    screen->extensions[i++] = &driCopySubBufferExtension.base;
    screen->extensions[i++] = &driFrameTrackingExtension.base;
    screen->extensions[i++] = &driReadDrawableExtension;
+   screen->extensions[i++] = &dri2ConfigQueryExtension.base;
 
    if ( screen->irq != 0 ) {
        screen->extensions[i++] = &driSwapControlExtension.base;