radeon: stupid mesa extension fail
authorDave Airlie <airlied@redhat.com>
Mon, 23 Mar 2009 23:26:31 +0000 (09:26 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 23 Mar 2009 23:26:31 +0000 (09:26 +1000)
src/mesa/drivers/dri/radeon/radeon_screen.c

index 2d3bb619cdae682ad1ab5bc1284d438b58c06fb9..78f769e3ed2e0461574ac7261760ae1b32560d73 100644 (file)
@@ -241,6 +241,7 @@ static const struct dri_debug_control debug_control[] = {
 #endif /* RADEON_COMMON && defined(RADEON_COMMON_FOR_R300) */
 
 extern const struct dri_extension card_extensions[];
+extern const struct dri_extension mm_extensions[];
 
 static int getSwapInfo( __DRIdrawablePrivate *dPriv, __DRIswapInfo * sInfo );
 
@@ -1413,6 +1414,7 @@ __DRIconfig **radeonInitScreen2(__DRIscreenPrivate *psp)
     * Hello chicken.  Hello egg.  How are you two today?
     */
    driInitExtensions( NULL, card_extensions, GL_FALSE );
+   driInitExtensions( NULL, mm_extensions, GL_FALSE );
 #if RADEON_COMMON && defined(RADEON_COMMON_FOR_R200)
    driInitExtensions( NULL, blend_extensions, GL_FALSE );
    driInitSingleExtension( NULL, ARB_vp_extension );