I don't know why that site is getting that specific error but I tried the second tutorial and the code is using non WebGL stuff. (ie, Desktop OpenGL stuff)His shaders are referencing gl_FrontColor and gl_TexCoord, neither of which are part of WebGL.On Thu, Aug 19, 2010 at 1:17 PM, Mark Callow <firstname.lastname@example.org> wrote:
The WebGL sample at www.c3dl.org does not run on Chrome but does run on Minefield.
On Minefield I see in the error console "enable: invalid enum 0x8642" and the sample runs.
On Chrome I see "Uncaught TypeError: Cannot call method 'getProgramID' of null.
The latter is caused by a createProgram call returning null. I am curious why a createProgram call could fails on Chrome and succeed on Minefield. They are the very latest builds downloaded this morning and are running on the same machine. The problem is 100% repeatable.