radeno: cleanup the startup path further
authorDave Airlie <airlied@redhat.com>
Tue, 28 Apr 2009 05:44:10 +0000 (15:44 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 28 Apr 2009 05:44:10 +0000 (15:44 +1000)
src/mesa/drivers/dri/radeon/radeon_screen.c

index 544ab74997d5c983fd0a65bab78951068077144d..9ce950af179486a35c8e710bd77c7b816785891b 100644 (file)
@@ -1010,16 +1010,15 @@ radeonCreateScreen( __DRIscreenPrivate *sPriv )
 #endif
 
 #if RADEON_COMMON && defined(RADEON_COMMON_FOR_R200)
-        if (IS_R200_CLASS(screen))
-            screen->extensions[i++] = &r200AllocateExtension.base;
+   if (IS_R200_CLASS(screen))
+      screen->extensions[i++] = &r200AllocateExtension.base;
 
-        screen->extensions[i++] = &r200texOffsetExtension.base;
+   screen->extensions[i++] = &r200texOffsetExtension.base;
 #endif
 
 #if RADEON_COMMON && defined(RADEON_COMMON_FOR_R300)
-        screen->extensions[i++] = &r300texOffsetExtension.base;
+   screen->extensions[i++] = &r300texOffsetExtension.base;
 #endif
-   }
 
    screen->extensions[i++] = NULL;
    sPriv->extensions = screen->extensions;