mesa: make _mesa_reference_shader_program() an inline function
authorBrian Paul <brianp@vmware.com>
Fri, 2 Jan 2015 23:56:12 +0000 (16:56 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 5 Jan 2015 20:50:54 +0000 (13:50 -0700)
commit6d9aed19f389539e2c3c7bb928d2160004a0038b
treeb5de90940a97554fa5c05da95043233819c81965
parent3f687e995f3b4b8099013b2a6e28433b40639dd7
mesa: make _mesa_reference_shader_program() an inline function

which wraps _mesa_reference_shader_program_(), similar to what we do
for other reference-counted objects.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/shaderobj.c
src/mesa/main/shaderobj.h