mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
[libgdx] Fixed non-PMA two color tinting for Skeleton Viewer.
This commit is contained in:
parent
38c8c870e8
commit
5cd07084b0
@ -291,6 +291,7 @@ public class SkeletonViewer extends ApplicationAdapter {
|
||||
// Pose and render skeleton.
|
||||
state.getData().setDefaultMix(ui.mixSlider.getValue());
|
||||
renderer.setPremultipliedAlpha(ui.premultipliedCheckbox.isChecked());
|
||||
batch.setPremultipliedAlpha(ui.premultipliedCheckbox.isChecked());
|
||||
|
||||
skeleton.setFlip(ui.flipXCheckbox.isChecked(), ui.flipYCheckbox.isChecked());
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user