TextureManager question

If I call loadTexture with the same path twice will TextureManager load the file twice or just return me a reference to the previously loaded version on the second call?



Thanks

Not that I know of. If you need that, you could impliment some kind of hashmap of texture URL’s and Texture objects though.

The old one could.