summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-08-01 12:22:16 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-08-08 18:06:44 -0700
commit822df3dd514ec3d05f876e6746cb8ba6348ac89d (patch)
tree5182e0ff7ec1d5dcad54a236b9a4496a1a758cd4 /scripts
parent33407591f5a1176aefb4d3f03ae8b74c947cc828 (diff)
downloadqtlocation-mapboxgl-822df3dd514ec3d05f876e6746cb8ba6348ac89d.tar.gz
[core] Use separate attribute component for line normals
Broadcom GPUs don't cope well with using the least significant bit for this.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/generate-shaders.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/generate-shaders.js b/scripts/generate-shaders.js
index 39aed3053e..cf54b1b100 100755
--- a/scripts/generate-shaders.js
+++ b/scripts/generate-shaders.js
@@ -1,8 +1,8 @@
#!/usr/bin/env node
-const path = require('path');
-const fs = require('fs');
+require('flow-remove-types/register');
+const path = require('path');
const shaders = require('../mapbox-gl-js/src/shaders');
const outputPath = 'src/mbgl/shaders';