diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-03-26 11:51:15 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-03-26 11:51:15 +0100 |
commit | 4b6b5b3b22bace1d6769fa7851c89139f029e68a (patch) | |
tree | 79c531a91cc32eeabcfd0bef969d62f0447d3361 /bin | |
parent | 249b42a29dd6c93eaadd321ae1f6d95cd7b4382e (diff) | |
download | qtlocation-mapboxgl-4b6b5b3b22bace1d6769fa7851c89139f029e68a.tar.gz |
fail hard if the shader optimizer is unavailable
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/build-shaders.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/build-shaders.js b/bin/build-shaders.js index 145df88064..dd8eaad8c2 100755 --- a/bin/build-shaders.js +++ b/bin/build-shaders.js @@ -3,9 +3,7 @@ var fs = require('fs'); var path = require('path'); - -var glsl; -try { glsl = require('glsl-optimizer'); } catch(err) {} +var glsl = require('glsl-optimizer'); module.exports = function(param) { var name; |