summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2015-08-28 21:41:55 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2015-08-28 21:41:55 -0700
commitf24e8c61e1cbfa58b00fcf4a17eae01b3fb8578f (patch)
tree979b6b5976473a4c27e0af5914b4460f11b2f581 /misc
parentdb0c2f5b8af01342d334e493a0ac964155877219 (diff)
glsl_scraper: Dedent GLSL source
Diffstat (limited to 'misc')
-rw-r--r--misc/glsl_scraper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/glsl_scraper.py b/misc/glsl_scraper.py
index 4e032cd..a0d5617 100644
--- a/misc/glsl_scraper.py
+++ b/misc/glsl_scraper.py
@@ -40,7 +40,7 @@ class Shader:
self.line = line
def glsl_source(self):
- return self.stream.getvalue()
+ return dedent(self.stream.getvalue())
def compile(self):
# We can assume if we got here that we have a temp directory and that