From 745c78733822573a5791fbae9b3e8fab785f7aca Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 17 Feb 2009 16:01:16 +1000 Subject: [PATCH] radeon: initialise swapped objects pointer --- src/mesa/drivers/dri/radeon/radeon_bo_legacy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/drivers/dri/radeon/radeon_bo_legacy.c b/src/mesa/drivers/dri/radeon/radeon_bo_legacy.c index 93ca325e88a..c40e1401873 100644 --- a/src/mesa/drivers/dri/radeon/radeon_bo_legacy.c +++ b/src/mesa/drivers/dri/radeon/radeon_bo_legacy.c @@ -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], -- 2.30.2