mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-04-27 07:50:54 -07:00
Reverted pixmap blending rename
This commit is contained in:
parent
4bbb4b9a19
commit
710a55dc2d
2 changed files with 2 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
|||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=baaa8652a41304abff81995aaf90f6589461ec0c
|
||||
archash=477c5e7892e49a8ae1d840feae2379fec15c838c
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ import arc.*;
|
|||
import arc.files.*;
|
||||
import arc.func.*;
|
||||
import arc.graphics.*;
|
||||
import arc.graphics.Pixmap.*;
|
||||
import arc.graphics.g2d.*;
|
||||
import arc.math.*;
|
||||
import arc.math.geom.*;
|
||||
|
|
@ -44,7 +43,7 @@ public class Generators{
|
|||
if(!fi.extEquals("png")) return;
|
||||
|
||||
Pixmap pix = new Pixmap(fi);
|
||||
pix.setBlending(PixmapBlending.sourceOver);
|
||||
pix.setBlending(Pixmap.Blending.sourceOver);
|
||||
pix.each((x, y) -> {
|
||||
int value = pix.getPixel(x, y);
|
||||
pix.draw(x, y, paletteMap.get(value, value));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue