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