radeon: fixup destroy texture object exit path and update LRU
authorDave Airlie <airlied@redhat.com>
Tue, 17 Feb 2009 01:17:22 +0000 (11:17 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 17 Feb 2009 01:17:22 +0000 (11:17 +1000)
commit7c7ff659ce7684f44b064c09cdca6436d2c2bf64
tree28351c8121d1f5b05db470e93db74038d8452dfd
parent43c71a2d40d417cf721656e8b088e375dc4bdedb
radeon: fixup destroy texture object exit path and update LRU

the destroy path was doing bad things with structure names, make it do less
bad things, use container_of instead
src/mesa/drivers/dri/radeon/radeon_bo_legacy.c