mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 00:16:15 +00:00
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:
@@ -57,8 +57,7 @@ func NewWindow(width, height int) (*Window, error) {
|
||||
if err != nil {
|
||||
return nil
|
||||
}
|
||||
const depthBits = 16
|
||||
fbo, err := dev.NewFramebuffer(fboTex, depthBits)
|
||||
fbo, err := dev.NewFramebuffer(fboTex)
|
||||
if err != nil {
|
||||
fboTex.Release()
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user