diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2014-11-11 07:31:08 -0800 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2014-11-11 07:31:08 -0800 |
commit | 124917aeaa3719566c2b678069173f8cb0a81b5e (patch) | |
tree | f42c9b45db16509ca7dcd911498d408262d0d371 | |
parent | cae15b8b4c2889d6e94dc0ed69bb973edd45c163 (diff) |
Direcly set environment variables instead of using update()
-rwxr-xr-x | run.py | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -84,12 +84,9 @@ def main(): "files. Defaults to 'shaders/'") args = parser.parse_args() - env_add = {} - env_add["shader_precompile"] = "true" - env_add["INTEL_DEBUG"] = "vs,gs,fs" - env_add["allow_glsl_extension_directive_midshader"] = "true" - - os.environ.update(env_add) + os.environ["shader_precompile"] = "true" + os.environ["allow_glsl_extension_directive_midshader"] = "true" + os.environ["INTEL_DEBUG"] = "vs,gs,fs" try: os.stat("bin/glslparsertest") |