[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Differences between Chrome & Minefield

I see effectively the same error in Firefox 4 beta 2 as in Chromium.

In Firefox I get this error:
Error: this.createProgram(c3dl.psys_vs, c3dl.psys_fs) is null
Source File: http://www.c3dl.org/wp-content/2.0Release/canvas3dapi/renderer/rendererwebgl.js
Line: 502

In Chromium I get
  1. Uncaught TypeError: Cannot call method 'getProgramID' of null
    1. J3DXplorer_mainJ3DXplorer.js:32
    2. c3dl.ColladaQueue.popFrontcolladaqueue.js:84
    3. xmlhttp.onreadystatechange

Same line in both browsers.

On Thu, Aug 19, 2010 at 3:19 PM, Gregg Tavares (wrk) <gman@google.com> wrote:
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 <callow_mark@hicorp.co.jp> 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.