#15 looks like a double free: The texture is owned by the texturecache but somebody else freed it. something like this:
unique_ptr<...> a(new Texture(...)); texture_cache.insert(unique_ptr<...>(a.get()));
#15 looks like a double free: The texture is owned by the texturecache but somebody else freed it. something like this:
unique_ptr<...> a(new Texture(...)); cache.insert( unique_ ptr<... >(a.get( )));
texture_