mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[ts][pixi-v8] Fix pma issue from previous release.
This commit is contained in:
parent
408d85fe87
commit
35f4fd19a6
@ -133,9 +133,7 @@ const spineTextureAtlasLoader: AssetExtension<RawAtlas | TextureAtlas, ISpineAtl
|
|||||||
src: copySearchParams(url, options.src as string),
|
src: copySearchParams(url, options.src as string),
|
||||||
data: {
|
data: {
|
||||||
...metadata.imageMetadata,
|
...metadata.imageMetadata,
|
||||||
// alphaMode: 'premultiplied-alpha'
|
alphaMode: page.pma ? 'premultiplied-alpha' : 'premultiply-alpha-on-upload'
|
||||||
alphaMode: 'premultiply-alpha-on-upload'
|
|
||||||
// alphaMode: 'no-premultiply-alpha'
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user