[Public WebGL] Return value for getAttachedShaders when a null program is passed in

Boris Zbarsky [email protected]
Fri Apr 27 12:07:56 PDT 2012


On 4/27/12 3:06 PM, Kenneth Russell wrote:
> In error conditions, a null return value is more consistent with the
> other query methods. I've added clarifying text to getAttachedShaders,
> getProgramParameter, getProgramInfoLog, getShaderParameter,
> getShaderInfoLog, getShaderSource, getActiveAttrib, getActiveUniform,
> getUniform, and getUniformLocation.

Thanks!

If there aren't tests in the test suite for this already, probably worth 
adding them.

-Boris

-----------------------------------------------------------
You are currently subscribed to [email protected]
To unsubscribe, send an email to [email protected] with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------





More information about the public_webgl mailing list