main: Change the type argument of use_shader_program() to gl_shader_stage.
authorPaul Berry <stereotype441@gmail.com>
Fri, 10 Jan 2014 14:48:11 +0000 (06:48 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 19 Mar 2015 20:38:51 +0000 (13:38 -0700)
commitbf9d921936305e1514d4ce7a162c4f81eba3e9f5
tree5282d7469683027ae34645051a0c236a8c7abaa5
parent57b2652322c833f9007203488526571023279cfc
main: Change the type argument of use_shader_program() to gl_shader_stage.

This allows it to be called from a loop.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/main/shaderapi.c