mesa: use gl_program cast wrappers
authorBrian Paul <brianp@vmware.com>
Wed, 18 Jul 2012 21:33:11 +0000 (15:33 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 18 Jul 2012 22:51:47 +0000 (16:51 -0600)
commite4f8d33aea7e0112dfbf3a38fdc36d11b2e7be10
tree7275efcba72bcbcc87546a392303e9155999e39a
parent1170b5aa9f8394fefcbab759c09d26293ba4b0ee
mesa: use gl_program cast wrappers

In a few cases, remove unneeded casts.
And fix a few other const-correctness issues.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/arbprogram.c
src/mesa/main/ffvertex_prog.c
src/mesa/main/nvprogram.c
src/mesa/main/shared.c
src/mesa/main/state.c
src/mesa/program/program.c