mesa: make _mesa_reference_sampler_object() an inline function
authorBrian Paul <brianp@vmware.com>
Sat, 17 Mar 2012 22:30:03 +0000 (16:30 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 20 Mar 2012 14:23:32 +0000 (08:23 -0600)
commit3f7509beffaf924a22227e70b499326393c5b885
tree7f297d85a980d8ca60781c8b69e5551dfeb2c7d2
parent0225a15b6907b51dbbc9602a1f0cb07ee809f496
mesa: make _mesa_reference_sampler_object() an inline function

To make the no-change case faster, as we do for the other object-reference
functions.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/samplerobj.c
src/mesa/main/samplerobj.h