summaryrefslogtreecommitdiffstats
path: root/progs/demos
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-12-18 11:57:15 -0700
committerBrian Paul <[email protected]>2009-12-18 11:57:17 -0700
commit0478b745fe72360ce91988636b54f6e4834c1fae (patch)
tree3c5dd2e5f767f15176365d2c2e4a8218c4d99e96 /progs/demos
parent20ee275974a58cd221031d522ad58a9548af2a31 (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')
0 files changed, 0 insertions, 0 deletions