r600g: fix up surface references
authorDave Airlie <airlied@redhat.com>
Sun, 5 Sep 2010 23:14:08 +0000 (09:14 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 5 Sep 2010 23:15:42 +0000 (09:15 +1000)
commit5b82777311965d26e534bd522afb0f679622d504
tree58e1bbf2aed34c62eff2ae355e9d10f490a9d83b
parent3a672785df247e6f8ce95616166b74d4fd10ede0
r600g: fix up surface references

We end up referencing the new surf and derefing the old surface which
is a copy of the pointer to the new surf. So just bump the ref count directly.
src/gallium/drivers/r600/r600_state.c