Skip to content

Commit

Permalink
[webgl] bugfix shader creation in example04
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed May 26, 2015
1 parent cba76d6 commit 31167e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geom-webgl/src/demo.org
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ rotation / transformation).
:view (mat/look-at (v/vec3 0 0 2) (v/vec3) v/V3Y)}
:mode gl/triangles
:num-vertices (/ (count verts) 3)
:shader (->> (basic/make-shader-spec {:use-attrib true :3d true})
:shader (->> (basic/make-shader-spec-3d true)
(sh/make-shader-from-spec gl))}
(buf/make-attribute-buffers-in-spec gl gl/static-draw))]
(anim/animate
Expand Down

0 comments on commit 31167e7

Please sign in to comment.