summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2014-11-11 07:31:08 -0800
committerJason Ekstrand <jason.ekstrand@intel.com>2014-11-11 07:31:08 -0800
commit124917aeaa3719566c2b678069173f8cb0a81b5e (patch)
treef42c9b45db16509ca7dcd911498d408262d0d371
parentcae15b8b4c2889d6e94dc0ed69bb973edd45c163 (diff)
Direcly set environment variables instead of using update()
-rwxr-xr-xrun.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/run.py b/run.py
index 2c7ba9e..59d5b00 100755
--- a/run.py
+++ b/run.py
@@ -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")