mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 08:46:09 +00:00
Minor fix in primitives.cpp
This commit is contained in:
parent
8b6aa2945f
commit
b26d3dc7b6
@ -497,7 +497,7 @@ void preprocess_transparent_pixels(Image* image)
|
||||
}
|
||||
|
||||
case IMAGE_GRAYSCALE: {
|
||||
LockImageBits<RgbTraits> bits(image);
|
||||
LockImageBits<GrayscaleTraits> bits(image);
|
||||
auto it = bits.begin(), end = bits.end();
|
||||
for (; it != end; ++it) {
|
||||
if (graya_geta(*it) == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user