mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +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),
|
||||
data: {
|
||||
...metadata.imageMetadata,
|
||||
// alphaMode: 'premultiplied-alpha'
|
||||
alphaMode: 'premultiply-alpha-on-upload'
|
||||
// alphaMode: 'no-premultiply-alpha'
|
||||
alphaMode: page.pma ? 'premultiplied-alpha' : 'premultiply-alpha-on-upload'
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user