all: remove Z buffer support

It is no longer needed by any rendering backend.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2021-08-06 16:36:56 +02:00
parent cea8e21f97
commit 18b4442393
14 changed files with 27 additions and 250 deletions
-2
View File
@@ -187,8 +187,6 @@ func createContext(disp _EGLDisplay) (*eglContext, error) {
// Also, some Android devices (Samsung S9) need alpha for sRGB to work.
attribs = append(attribs, _EGL_ALPHA_SIZE, 8)
}
// Only request a depth buffer if we're going to render directly to the framebuffer.
attribs = append(attribs, _EGL_DEPTH_SIZE, 16)
}
attribs = append(attribs, _EGL_NONE)
eglCfg, ret := eglChooseConfig(disp, attribs)