Put gl_program_machine into swrast structure rather than using a local variable.
authorBrian <brian@yutani.localnet.net>
Thu, 19 Apr 2007 20:24:10 +0000 (14:24 -0600)
committerBrian <brian@yutani.localnet.net>
Thu, 19 Apr 2007 20:24:10 +0000 (14:24 -0600)
commit8b5fce6bcc88cd9dd321f0db95c1714e5e5e85a1
tree523051281c03f33fe89a1a6baf2e3386f88d8a24
parent020cdb47cf172c6ef8da78abcf6621233439d08b
Put gl_program_machine into swrast structure rather than using a local variable.

Basically an easy way to make sure the memory gets initialized once (to zero)
to avoid lots of valgrind warnings.
src/mesa/swrast/s_context.h
src/mesa/swrast/s_fragprog.c