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 1a2b308ae3
commit a41b15850d

View File

@ -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))
} }