commit | 5d7b49f7e77f9e3303e0910834b6c014e7267289 | [log] [tgz] |
---|---|---|
author | Brian Paul <brian.paul@tungstengraphics.com> | Sat Nov 19 23:12:20 2005 +0000 |
committer | Brian Paul <brian.paul@tungstengraphics.com> | Sat Nov 19 23:12:20 2005 +0000 |
tree | d0114b31ea2c78b6f5034aa8e51217c3f84800c1 | |
parent | 1ad3b7e28b726fdafed459b3c9a6adf6e314b391 [diff] |
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().