From: Dave Airlie Date: Tue, 17 Feb 2009 06:01:16 +0000 (+1000) Subject: radeon: initialise swapped objects pointer X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=745c78733822573a5791fbae9b3e8fab785f7aca;p=mesa.git radeon: initialise swapped objects pointer --- 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],