[intel] assert that buffers are not mapped at last unreference.
authorEric Anholt <eric@anholt.net>
Thu, 13 Dec 2007 09:01:31 +0000 (01:01 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 14 Dec 2007 07:24:53 +0000 (23:24 -0800)
commit9f7d6b72108d9d8bec5f567bcaf33714ffe3ebc2
treedbe33fd073c917f578cd160aaa520e54796ed0dd
parent37406c2038c418a1d6f26b5ac5691586c9f05631
[intel] assert that buffers are not mapped at last unreference.

bufmgr_fake doesn't care about it, but with ttm we would end up with the
buffer remaining referenced until application exit.
src/mesa/drivers/dri/common/dri_bufmgr_fake.c