mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
graphics: Marks ColorM as non-comparable explicitly
This is a temporary fix to avoid unexpected comparing. Updates #866
This commit is contained in:
parent
3c29fbdce2
commit
8d5f2a5886
@ -35,6 +35,8 @@ const ColorMDim = affine.ColorMDim
|
|||||||
// The initial value is identity.
|
// The initial value is identity.
|
||||||
type ColorM struct {
|
type ColorM struct {
|
||||||
impl *affine.ColorM
|
impl *affine.ColorM
|
||||||
|
|
||||||
|
_ [0]func() // Marks as non-comparable.
|
||||||
}
|
}
|
||||||
|
|
||||||
// String returns a string representation of ColorM.
|
// String returns a string representation of ColorM.
|
||||||
|
Loading…
Reference in New Issue
Block a user