I'm not sure about the implementation details of the classes you are using but mostly wanted to point out that you shouldn't be allocating textures and primitives while the application is running but instead allocate a bunch of them at the beginning and use them when you need one
↧