diff options
author | Dave Airlie <[email protected]> | 2009-02-17 10:25:34 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-02-17 10:25:34 +1000 |
commit | 5325f8624093bb1ec30d581b4ff64218ceab99f9 (patch) | |
tree | 78a9367863c6ac6f28c4cd524557ea95ff65a467 /src/mesa/drivers/dri/common/texmem.h | |
parent | ecf0a3eac1a4868da83ab0a3c21e2f265f7cf9e2 (diff) |
dri/radeon: export a function to cleanup a texture object.
The radeon legacy code want to cleanup not free the texture obj,
so export a function to do that and wrap it.
Diffstat (limited to 'src/mesa/drivers/dri/common/texmem.h')
-rw-r--r-- | src/mesa/drivers/dri/common/texmem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/texmem.h b/src/mesa/drivers/dri/common/texmem.h index 9c065da8b4f..b9beeeadfca 100644 --- a/src/mesa/drivers/dri/common/texmem.h +++ b/src/mesa/drivers/dri/common/texmem.h @@ -272,6 +272,7 @@ void driAgeTextures( driTexHeap * heap ); void driUpdateTextureLRU( driTextureObject * t ); void driSwapOutTextureObject( driTextureObject * t ); +void driCleanupTextureObject( driTextureObject * t ); void driDestroyTextureObject( driTextureObject * t ); int driAllocateTexture( driTexHeap * const * heap_array, unsigned nr_heaps, driTextureObject * t ); |