| 91 | } |
| 92 | |
| 93 | Texture2D* TextureCache::update(String name, Texture2D* texture) { |
| 94 | std::string fullPath = SharedContent.getFullPath(name); |
| 95 | _textures[fullPath] = texture; |
| 96 | return texture; |
| 97 | } |
| 98 | |
| 99 | Texture2D* TextureCache::get(String filename) { |
| 100 | std::string fullPath = SharedContent.getFullPath(filename); |
nothing calls this directly
no test coverage detected