MCPcopy Create free account
hub / github.com/comaps/comaps / DeferredCleanup

Method DeferredCleanup

libs/drape/texture.hpp:76–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 static bool IsPowerOfTwo(uint32_t width, uint32_t height);
75
76 void DeferredCleanup(std::vector<drape_ptr<HWTexture>> & toCleanup)
77 {
78 toCleanup.push_back(std::move(m_hwTexture));
79 Destroy();
80 }
81
82protected:
83 void Destroy();

Callers 2

OnSwitchMapStyleMethod · 0.80
OnVisualScaleChangedMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected