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

Boris Zbarsky [email protected]
Sun Apr 15 20:16:38 PDT 2012


The spec doesn't seem to define what should happen when a null program 
is passed to getAttachedShaders.  The OpenGL ES spec doesn't define 
behavior here, since it uses an integer to identify the program, and 
that can't be null.

Per current IDL, the return values that could possibly make sense are 
null and empty array.  Gecko seems to return undefined or some such, 
based on code inspection, which is clearly wrong, but I don't know which 
direction to fix it in.

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