Talk:How to initialise WebGL

From The WebGL Cookbook

wouldn't it be better to sen the id as an argument to the function? then the example would work out of the box.

--Neppord 12:58, 11 November 2009 (UTC)


Yes, that's a good idea -- I'll make the change.

--Giles 15:21, 11 November 2009 (UTC)


After thinking about it, and integrating the same change into the lessons, I figured it was actually more natural to pass in the canvas itself. So I've changed it appropriately.

--Giles 20:14, 10 December 2009 (UTC)

TOOLBOX
LANGUAGES