mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-26 17:30:52 +01:00
Remove comment
This commit is contained in:
parent
17bc510b4f
commit
9d68b06b9c
@ -63,25 +63,6 @@ export class PlaneTextureCache
|
|||||||
|
|
||||||
this.RENDER_TEXTURE_POOL.set(planeId, renderTexture);
|
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;
|
return renderTexture;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user