~eliasnaur/gio

fddb0af6f61d09a48af92c80148c5060e7c89da4 — Elias Naur 8 months ago 96a4e51
app/internal/gpu: default to color material

Before this change the default material were a texture, which leads
to a crash when no texture is current.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
1 files changed, 2 insertions(+), 2 deletions(-)

M app/internal/gpu/gpu.go
M app/internal/gpu/gpu.go => app/internal/gpu/gpu.go +2 -2
@@ 212,8 212,8 @@ const (
)

const (
	materialTexture materialType = iota
	materialColor
	materialColor materialType = iota
	materialTexture
)

var (