Skip to content

Commit

Permalink
internal/graphicscommand: fix missing graphicscommand log (hajimehosh…
Browse files Browse the repository at this point in the history
  • Loading branch information
Humpheh authored and hajimehoshi committed Mar 14, 2021
1 parent 00236da commit e4080b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/graphicscommand/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit e4080b9

Please sign in to comment.