mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 12:08:58 +01:00
parent
4d1947f711
commit
a536b3ee25
@ -202,7 +202,7 @@ func (c *compileContext) metalVarInit(p *shaderir.Program, t *shaderir.Type) str
|
||||
es = append(es, init)
|
||||
}
|
||||
t := typeString(t, false, false)
|
||||
return fmt.Sprintf("%s(%s)", t, strings.Join(es, ", "))
|
||||
return fmt.Sprintf("%s{%s}", t, strings.Join(es, ", "))
|
||||
case shaderir.Struct:
|
||||
panic("not implemented")
|
||||
case shaderir.Bool:
|
||||
|
Loading…
Reference in New Issue
Block a user