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

Re: [Public WebGL] Re: [webgl-dev-list] uniform and attribute names

Thanks Boris - that indeed fixes it and sorry for using a non-standard IE-ism.

I've updated the JSfiddle:
and it works perfectly in Firefox.


On 24 September 2013 17:06, Boris Zbarsky <bzbarsky@mit.edu> wrote:

On 9/24/13 8:21 AM, Tom Payne wrote:
Does anyone know why Firefox does not seem to run the example at all?

It runs the example.  But your logging function is like this:

      p.innerText = object.toString();

and "innerText" is not a standard property on HTML elements: it's an IE-ism that WebKit copied.  In particular, it's not supported in Gecko.  So that line does absolutely nothing useful in Gecko.

Try using:

    p.textContent = object.toString();

instead.  What I get then, on Mac, is:

  fragment shader compile status = true
  fragment shader info log =
  vertex shader compile status = true

  vertex shader info log =
  program link status = true
  program info log =


You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl

Camptocamp SA
CH-1015 Lausanne

+41 21 619 10 13 (direct)
+41 21 619 10 10 (centrale)
+41 21 619 10 00 (fax)