mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
parent
5e39632692
commit
16cbf48698
@ -89,7 +89,7 @@ export class SpineCanvas {
|
||||
error: () => { },
|
||||
dispose: () => { },
|
||||
}
|
||||
if (config.webglConfig) config.webglConfig = { alpha: true };
|
||||
if (!config.webglConfig) config.webglConfig = { alpha: true };
|
||||
|
||||
this.htmlCanvas = canvas;
|
||||
this.context = new ManagedWebGLRenderingContext(canvas, config.webglConfig);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user