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

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

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.


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