Currently we're loading some textures multiple times from the harddrive since we don't have a mechanism for reusing already loaded ones. Just create a breakpoint in the texture constructor and watch ;).
This apparently leads to unnecessary texture changes, wasting of ram & vram and longer loading times ..
Propably we can just add it to the Content::Resources Singleton, but I'am not sure if this class is sufficient in the long run. We should discuss this probably.
Currently we're loading some textures multiple times from the harddrive since we don't have a mechanism for reusing already loaded ones. Just create a breakpoint in the texture constructor and watch ;).
This apparently leads to unnecessary texture changes, wasting of ram & vram and longer loading times ..
Propably we can just add it to the Content::Resources Singleton, but I'am not sure if this class is sufficient in the long run. We should discuss this probably.
48 may be related.