Fix buffer/fence reference counting due to Destroy vs Unreference difference.
authorEric Anholt <eric@anholt.net>
Fri, 21 Sep 2007 23:16:54 +0000 (16:16 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 21 Sep 2007 23:18:21 +0000 (16:18 -0700)
commitd0350dadaa52064f67e4e9001145af14478b2849
tree73126fd3756ee17a139ea4215dc85d354b4c654e
parentc1ecc383204914567c6de1587d7b9559ec72ce6e
Fix buffer/fence reference counting due to Destroy vs Unreference difference.

While here, remove the unnecessary fence type saving for the wait ioctl, as
a 0 argument for type means "use your other saved copy".
src/mesa/drivers/dri/common/dri_bufmgr_ttm.c