residualvm/residualvm — pull request #1027 by Akz- (2014-08-14 19:05:20+00:00)
Title: TINYGL: Do not write to the depth buffer if depth test is disabled.

According to the OpenGL spec the depth buffer should not be updated if the depth test is disabled, even if the depth mask is non-zero (see the notes in https://www.khronos.org/opengles/sdk/docs/man/xhtml/glDepthFunc.xml).