Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
From Fabien Lavignotte, "I use Texture2D::copyTexImage2D to generate …
…some textures at each frame on a PagedLOD databases. There was some performance problems after a long run, because textures created with copyTexImage2D were not reused. After investigation, there is a problem with the Texture Pool when a texture object is created with an empty profile, and then move after creation to TextureObjectSet with good profile using setAllocated method. I have just changed a little bit the code of Texture2D::copyTexImage2D, to generate the texture object with the good profile at the start."
- Loading branch information