MCPcopy Create free account
hub / github.com/MyGUI/mygui / unlock

Method unlock

Platforms/Ogre/OgrePlatform/src/MyGUI_OgreTexture.cpp:104–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 }
103
104 void OgreTexture::unlock()
105 {
106 if (mTexture->getBuffer()->isLocked())
107 {
108 mTexture->getBuffer()->unlock();
109 }
110 else
111 {
112 delete[] (uint8*)mTmpData.data;
113 mTmpData.data = nullptr;
114 }
115 }
116
117 bool OgreTexture::isLocked() const
118 {

Callers 1

updateMethod · 0.45

Calls 1

isLockedMethod · 0.45

Tested by

no test coverage detected