- March 10, 2009 at 3:43 pm #29725
It seems I found a bug. glDepthMask(GL_FALSE) – disables writing to Z-buffer and also disables clearing Z-buffer using glClear function.
"glDepthMaskdoes not affect
I tell about win32 implementation from v2.3 SDKMarch 10, 2009 at 4:07 pm #32805
The statement on that man page is incorrect, glDepthMask does affect glClear. In general the man pages for ES 1.1 are in a much better state than the ones for ES 1.0:
According to the ES 1.1 full spec:Quote:When Clear is called, the only per-fragment operations that are applied (if
enabled) are the pixel ownership test, the scissor test, and dithering. The masking
operations described in the last section (4.2.2) are also effective.
Xmas 2009-03-10 16:08:24March 10, 2009 at 5:54 pm #32806