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
-2
View File
@@ -103,7 +103,6 @@ type uniformLocation struct {
} }
type gpuInputLayout struct { type gpuInputLayout struct {
backend *Backend
inputs []backend.InputLocation inputs []backend.InputLocation
layout []backend.InputDesc layout []backend.InputDesc
} }
@@ -416,7 +415,6 @@ 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