greggman / twgl.js

A Tiny WebGL helper Library
http://twgljs.org
MIT License
2.61k stars 258 forks source link

gl.useProgram(program); #220

Closed letochagone closed 1 year ago

letochagone commented 1 year ago

in the following link, a small error, it is written gl.useProgram(program) rather than gl.useProgram(programInfo.program)

https://twgljs.org/docs/module-twgl.html#.setUniforms

greggman commented 1 year ago

thanks. https://github.com/greggman/twgl.js/commit/60471714ed47873001b2df79444b7999290760c6