r600g: fix invalid ref count handling in r600_set_constant_buffer
authorChristian König <deathsimple@vodafone.de>
Mon, 31 Jan 2011 22:38:10 +0000 (23:38 +0100)
committerChristian König <deathsimple@vodafone.de>
Mon, 31 Jan 2011 22:38:10 +0000 (23:38 +0100)
commit7fb722c35c2d2cb74b14417a8ddc0684ed6dd838
tree6b589d829ec349ceb32dc64c1aee14e82cf41592
parenta8c144a388a5c7275d8d223c5508c66a0612a1b0
r600g: fix invalid ref count handling in r600_set_constant_buffer

Only decrement ref count if r600_upload_const_buffer
really changes the buffer.
src/gallium/drivers/r600/r600_state_common.c