mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 08:55:35 +00:00
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>
This commit is contained in:
@@ -212,8 +212,8 @@ const (
|
||||
)
|
||||
|
||||
const (
|
||||
materialTexture materialType = iota
|
||||
materialColor
|
||||
materialColor materialType = iota
|
||||
materialTexture
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
Reference in New Issue
Block a user