| 97 | } |
| 98 | |
| 99 | Texture2D* TextureCache::get(String filename) { |
| 100 | std::string fullPath = SharedContent.getFullPath(filename); |
| 101 | auto it = _textures.find(fullPath); |
| 102 | if (it != _textures.end()) { |
| 103 | return it->second; |
| 104 | } |
| 105 | return nullptr; |
| 106 | } |
| 107 | |
| 108 | static void releaseImage(void* _ptr, void* _userData) { |
| 109 | DORA_UNUSED_PARAM(_ptr); |
nothing calls this directly
no test coverage detected