radeon: initialise swapped objects pointer
authorDave Airlie <airlied@redhat.com>
Tue, 17 Feb 2009 06:01:16 +0000 (16:01 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 17 Feb 2009 06:01:16 +0000 (16:01 +1000)
src/mesa/drivers/dri/radeon/radeon_bo_legacy.c

index 93ca325e88a7d5ad54805b3f0fab3fe7a506fa94..c40e1401873fe9940dcafb76f6e01153fd98876a 100644 (file)
@@ -689,6 +689,8 @@ struct radeon_bo_manager *radeon_bo_manager_legacy_ctor(struct radeon_screen *sc
         return NULL;
     }
 
+    make_empty_list(&bom->texture_swapped);
+
     bom->texture_heap = driCreateTextureHeap(0,
                                              bom,
                                              scrn->texSize[0],