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 GitHub
parent 36209465fc
commit 21cfe362c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -350,6 +350,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))
} }