mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 01:25:20 +02:00
Fix some smaller issues with texture/image handling
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user