graphics: Marks ColorM as non-comparable explicitly

This is a temporary fix to avoid unexpected comparing.

Updates #866
This commit is contained in:
Hajime Hoshi 2019-10-31 01:55:55 +09:00
parent 3c29fbdce2
commit 8d5f2a5886

View File

@ -35,6 +35,8 @@ const ColorMDim = affine.ColorMDim
// The initial value is identity.
type ColorM struct {
impl *affine.ColorM
_ [0]func() // Marks as non-comparable.
}
// String returns a string representation of ColorM.