mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Fix some smaller issues with texture/image handling
This commit is contained in:
parent
4aae31ad5e
commit
58ccf0ba82
6 changed files with 44 additions and 28 deletions
|
@ -1020,6 +1020,7 @@ video::IImage* CGUITTFont::createTextureFromChar(const char32_t& ch)
|
|||
pageholder->copyTo(image, core::position2di(0, 0), glyph.source_rect);
|
||||
|
||||
tex->unlock();
|
||||
pageholder->drop();
|
||||
return image;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue