mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 00:16:15 +00:00
all: remove unused fields, functions and add missing error handling
Credit to staticcheck.io. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -272,11 +272,6 @@ const (
|
||||
materialTexture
|
||||
)
|
||||
|
||||
const (
|
||||
attribPos = 0
|
||||
attribUV = 1
|
||||
)
|
||||
|
||||
func New(ctx backend.Device) (*GPU, error) {
|
||||
defFBO := ctx.CurrentFramebuffer()
|
||||
g := &GPU{
|
||||
|
||||
Reference in New Issue
Block a user