diff options
author | Brian Paul <[email protected]> | 2009-12-18 11:57:15 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-12-18 11:57:17 -0700 |
commit | 0478b745fe72360ce91988636b54f6e4834c1fae (patch) | |
tree | 3c5dd2e5f767f15176365d2c2e4a8218c4d99e96 /progs/demos/textures.c | |
parent | 20ee275974a58cd221031d522ad58a9548af2a31 (diff) |
glsl: clear out shader code before compiling
When we start compiling a shader, first free the existing gl_program.
This (mostly) fixes the piglit glsl-reload-source test.
Without this change, we were actually appending the new GPU code
onto the previous program.
Diffstat (limited to 'progs/demos/textures.c')
0 files changed, 0 insertions, 0 deletions