internal/graphicscommand, internal/graphicsdriver/metal: remove unused code

This commit is contained in:
Hajime Hoshi 2022-07-03 15:23:52 +09:00
parent 12533c2cce
commit afe1a93648
2 changed files with 0 additions and 8 deletions

View File

@ -38,11 +38,6 @@ type command interface {
Exec(graphicsDriver graphicsdriver.Graphics, indexOffset int) error
}
type size struct {
width float32
height float32
}
type drawTrianglesCommandPool struct {
pool []*drawTrianglesCommand
}

View File

@ -328,9 +328,6 @@ type Graphics struct {
shaders map[graphicsdriver.ShaderID]*Shader
nextShaderID graphicsdriver.ShaderID
src *Image
dst *Image
transparent bool
maxImageSize int
tmpTextures []mtl.Texture