Only use glsl-unit if it is available
This commit is contained in:
3
build.py
3
build.py
@@ -180,7 +180,8 @@ def build_src_external_src_types_js(t):
|
||||
'--typedef', 'src/objectliterals.exports')
|
||||
|
||||
|
||||
for glsl_src in GLSL_SRC:
|
||||
if os.path.exists(TEMPLATE_GLSL_COMPILER_JS):
|
||||
for glsl_src in GLSL_SRC:
|
||||
def shader_src_helper(glsl_src):
|
||||
@target(glsl_src.replace('.glsl', 'shader.js'), glsl_src,
|
||||
'src/ol/webgl/shader.mustache')
|
||||
|
||||
Reference in New Issue
Block a user