internal/graphicscommand: fix missing graphicscommand log (#1543)

Closes #1544
This commit is contained in:
Humphrey Shotton 2021-03-14 17:14:03 +00:00 committed by Hajime Hoshi
parent 00236daa39
commit e4080b9830

View File

@ -344,6 +344,8 @@ func (c *drawTrianglesCommand) String() string {
mode = "xor"
case driver.CompositeModeLighter:
mode = "lighter"
case driver.CompositeModeMultiply:
mode = "multiply"
default:
panic(fmt.Sprintf("graphicscommand: invalid composite mode: %d", c.mode))
}