mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
parent
1e820253d1
commit
867af5c134
@ -85,7 +85,7 @@ export class SpineCanvas {
|
||||
render: () => { },
|
||||
error: () => { },
|
||||
}
|
||||
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