Thanks. I didn't see that in the documentation I was using for WebGL,
but now I see this in the OpenGL docs:
"The pixel ownership test, the scissor test, dithering, and the buffer
writemasks affect the operation of glClear. The scissor box bounds the
cleared region. Alpha function, blend function, logical operation,
stenciling, texture mapping, and depth-buffering are ignored by glClear."
This seems contradictory to me: it says the writemasks affect the
operation, but depth-buffering is ignored. What does it mean that
depth-buffering is ignored?
Duncan Murdoch