Bunch of little fixes:
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 19 Nov 2005 23:12:20 +0000 (23:12 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 19 Nov 2005 23:12:20 +0000 (23:12 +0000)
commit5d7b49f7e77f9e3303e0910834b6c014e7267289
treed0114b31ea2c78b6f5034aa8e51217c3f84800c1
parent1ad3b7e28b726fdafed459b3c9a6adf6e314b391
Bunch of little fixes:
Fix mem leaks in _mesa_TexEnvProgramCacheDestroy().
Check if ctx->Driver.BindProgram is non-null before calling.
s/unsigned/GLuint/
Use MAX_INSTRUCTIONS instead of magic 100, check program length after it's made.
Use _mesa_init_instruction() instead of _mesa_memset().
src/mesa/main/texenvprogram.c