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

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




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 =

-Boris

-----------------------------------------------------------
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
-----------------------------------------------------------