From 994d93e65bdd6aa1e8ae8c265309dfd69b791295 Mon Sep 17 00:00:00 2001 From: pandamicro Date: Thu, 13 Jun 2019 13:12:47 +0800 Subject: [PATCH] Fix texture sampler destroyed issue (#4611) --- cocos/3d/framework/batched-skinning-model-component.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/cocos/3d/framework/batched-skinning-model-component.ts b/cocos/3d/framework/batched-skinning-model-component.ts index 8e90b39860..221e05b0e9 100644 --- a/cocos/3d/framework/batched-skinning-model-component.ts +++ b/cocos/3d/framework/batched-skinning-model-component.ts @@ -441,7 +441,6 @@ export class BatchedSkinningModelComponent extends SkinningModelComponent { protected resizeAtlases () { for (const prop of Object.keys(this._textures)) { const tex = this._textures[prop]; - tex.destroy(); tex.create(this.atlasSize, this.atlasSize, PixelFormat.RGBA8888); } }