func DepthMask(flag bool) { b := C.GLboolean(C.GL_FALSE) if flag { b = C.GLboolean(C.GL_TRUE) } C.glDepthMask(b) }
func DepthMask(flag bool) { defer func() { errstr := errDrain() log.Printf("gl.DepthMask(%v) %v", flag, errstr) }() C.glDepthMask(glBoolean(flag)) }
func DepthMask(flag bool) { C.glDepthMask(glBoolean(flag)) }