glsl: Protect against double compiler-destroy.
authorEric Anholt <eric@anholt.net>
Fri, 27 Aug 2010 22:23:29 +0000 (15:23 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 27 Aug 2010 22:25:06 +0000 (15:25 -0700)
commitd539c69044c735618bf85485df7733e9f0491d18
tree4564ab989329e0c0650429df3979c542a6fab966
parentae6e112c69cf42fb81ef4ed5bdeb3b280647f141
glsl: Protect against double compiler-destroy.

DRI was doing teardown when we close the last screen, then an atexit()
was added to call it as well.
src/glsl/builtins/tools/generate_builtins.py