mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
Fix texture sampler destroyed issue (#4611)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user