ilo: fix fence reference counting
authorChia-I Wu <olvaffe@gmail.com>
Tue, 8 Jul 2014 06:03:17 +0000 (14:03 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 8 Jul 2014 07:00:36 +0000 (15:00 +0800)
commit8ff16111eee309652b5409890c42d042e33770e2
tree012b146ef746dd30b9917941415470ad185b9b61
parentbbefb15e01e1c16af69646898918982ae00f8c92
ilo: fix fence reference counting

The old code was complicated, and was wrong when *ptr is NULL.
src/gallium/drivers/ilo/ilo_screen.c