f
This commit is contained in:
parent
bffe8a9839
commit
8baa04a6cb
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ proc isOneColor*(image: Image): bool {.raises: [].} =
|
||||||
## Checks if the entire image is the same color.
|
## Checks if the entire image is the same color.
|
||||||
result = true
|
result = true
|
||||||
|
|
||||||
let color = image.getRgbaUnsafe(0, 0)
|
let color = image.data[0]
|
||||||
|
|
||||||
var i: int
|
var i: int
|
||||||
when defined(amd64) and not defined(pixieNoSimd):
|
when defined(amd64) and not defined(pixieNoSimd):
|
||||||
|
|
Loading…
Reference in a new issue