diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-08-01 12:22:16 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-08-08 18:06:44 -0700 |
commit | 822df3dd514ec3d05f876e6746cb8ba6348ac89d (patch) | |
tree | 5182e0ff7ec1d5dcad54a236b9a4496a1a758cd4 /scripts/generate-shaders.js | |
parent | 33407591f5a1176aefb4d3f03ae8b74c947cc828 (diff) | |
download | qtlocation-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/generate-shaders.js')
-rwxr-xr-x | scripts/generate-shaders.js | 4 |
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'; |