mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
internal/graphicscommand: fix missing graphicscommand log (#1543)
Closes #1544
This commit is contained in:
parent
1a2b308ae3
commit
a41b15850d
@ -344,6 +344,8 @@ func (c *drawTrianglesCommand) String() string {
|
|||||||
mode = "xor"
|
mode = "xor"
|
||||||
case driver.CompositeModeLighter:
|
case driver.CompositeModeLighter:
|
||||||
mode = "lighter"
|
mode = "lighter"
|
||||||
|
case driver.CompositeModeMultiply:
|
||||||
|
mode = "multiply"
|
||||||
default:
|
default:
|
||||||
panic(fmt.Sprintf("graphicscommand: invalid composite mode: %d", c.mode))
|
panic(fmt.Sprintf("graphicscommand: invalid composite mode: %d", c.mode))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user