Remove comment

This commit is contained in:
Bill 2023-01-14 00:25:31 -05:00
parent 17bc510b4f
commit 9d68b06b9c
1 changed files with 0 additions and 19 deletions

View File

@ -63,25 +63,6 @@ export class PlaneTextureCache
this.RENDER_TEXTURE_POOL.set(planeId, renderTexture);
}
/* else
{
renderTexture = this.RENDER_TEXTURE_POOL.get(planeId + '-swap');
if(!renderTexture)
{
renderTexture = RenderTexture.create({
width,
height
});
this.RENDER_TEXTURE_CACHE.push(renderTexture);
this.RENDER_TEXTURE_POOL.set(planeId + '-swap', renderTexture);
}
this.RENDER_TEXTURE_POOL.set(planeId + '-swap', this.RENDER_TEXTURE_POOL.get(planeId));
this.RENDER_TEXTURE_POOL.set(planeId, renderTexture);
} */
return renderTexture;
}