mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[ts] Disable alpha in WebGL context.
This commit is contained in:
parent
cda5c0f052
commit
c19d84f194
@ -162,7 +162,10 @@ class App {
|
|||||||
}
|
}
|
||||||
|
|
||||||
new spine.SpineCanvas(document.getElementById("canvas"), {
|
new spine.SpineCanvas(document.getElementById("canvas"), {
|
||||||
app: new App()
|
app: new App(),
|
||||||
|
webglConfig: {
|
||||||
|
alpha: false
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
class FileDragAndDrop {
|
class FileDragAndDrop {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user