@@ -0,0 +1,9 @@
const env = require('./utils/spine-env.js')
App({
onLaunch() {
// Spine 的 ManagedWebGLRenderingContext 内部会判断 `x instanceof WebGLRenderingContext`,
// 小程序若没有这个全局构造器会直接抛 ReferenceError,这里提前保证它被声明。
env.installWebGLShim()
},
})
The note is not visible to the blocked user.