Skip to content
Permalink
Browse files

Fix deadly bug in rendering of tiles contaning alpha

  • Loading branch information...
ferrybig committed Mar 12, 2019
1 parent 1da5cd2 commit be62a405b53d88289a1862d672304efce1a7a97d
@@ -202,7 +202,7 @@ public void apply(int[] dstPixels) {
int red = (int) (c1red * (1 - factor) + c2red * factor);
int green = (int) (c1green * (1 - factor) + c2green * factor);
int blue = (int) (c1blue * (1 - factor) + c2blue * factor);
dstPixels[i] = (red << 16) | (green << 8) | blue;
dstPixels[i] = (0xff << 24) | (red << 16) | (green << 8) | blue;
}
}
}

0 comments on commit be62a40

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.