MCPcopy Create free account
hub / github.com/MyGUI/mygui / ~ResourceTrueTypeFont

Method ~ResourceTrueTypeFont

MyGUIEngine/src/MyGUI_ResourceTrueTypeFont.cpp:231–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229 const float ResourceTrueTypeFont::mCursorWidth = 2.0f;
230
231 ResourceTrueTypeFont::~ResourceTrueTypeFont()
232 {
233 if (mTexture != nullptr)
234 {
235 RenderManager::getInstance().destroyTexture(mTexture);
236 mTexture = nullptr;
237 }
238 }
239
240 void ResourceTrueTypeFont::deserialization(xml::ElementPtr _node, Version _version)
241 {

Callers

nothing calls this directly

Calls 1

destroyTextureMethod · 0.45

Tested by

no test coverage detected