gpu/gl: remove unused field

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-03-19 20:28:09 +01:00
parent acd32c31a2
commit 56c3edef82
+4 -6
View File
@@ -103,9 +103,8 @@ type uniformLocation struct {
} }
type gpuInputLayout struct { type gpuInputLayout struct {
backend *Backend inputs []backend.InputLocation
inputs []backend.InputLocation layout []backend.InputDesc
layout []backend.InputDesc
} }
// textureTriple holds the type settings for // textureTriple holds the type settings for
@@ -416,9 +415,8 @@ func (b *Backend) NewInputLayout(vs backend.ShaderSources, layout []backend.Inpu
} }
} }
return &gpuInputLayout{ return &gpuInputLayout{
backend: b, inputs: vs.Inputs,
inputs: vs.Inputs, layout: layout,
layout: layout,
}, nil }, nil
} }