mesa: small _mesa_UseProgram() tidy up
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 3 May 2017 05:56:03 +0000 (15:56 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 11 May 2017 00:56:09 +0000 (10:56 +1000)
commitbdaff25c2041a2399ee4d4b08764baa890531e22
tree75f3cc6573b5068b3616cf54aa3879b50f869051
parent244cef1694fbeb6738b883afc2ca6c4cc9c05ff0
mesa: small _mesa_UseProgram() tidy up

Makes the code easier to follow.

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