mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 18:35:34 +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 (
|
const (
|
||||||
materialTexture materialType = iota
|
materialColor materialType = iota
|
||||||
materialColor
|
materialTexture
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
Reference in New Issue
Block a user