Skip to content

Commit

Permalink
Merge pull request #1 from gl-vis/etpinard-laptop-fixes
Browse files Browse the repository at this point in the history
a few fixes
  • Loading branch information
kig authored May 25, 2018
2 parents 076b0a6 + e856b5b commit f308a12
Show file tree
Hide file tree
Showing 5 changed files with 2,725 additions and 103 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
2 changes: 1 addition & 1 deletion lib/tubemesh.js
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ proto.dispose = function() {
}

function createMeshShader(gl) {
var shader = createShader(gl, meshShader.vertex, meshShader.fragment)
var shader = createShader(gl, meshShader.vertex, meshShader.fragment, null, meshShader.attributes)
shader.attributes.position.location = 0
shader.attributes.color.location = 2
shader.attributes.uv.location = 3
Expand Down
Loading

0 comments on commit f308a12

Please sign in to comment.