mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix deprecated calls with Irrlicht 1.9
This commit is contained in:
parent
62e3593944
commit
66b5c08664
4 changed files with 8 additions and 11 deletions
|
@ -129,7 +129,7 @@ video::ITexture *guiScalingResizeCached(video::IVideoDriver *driver,
|
|||
#endif
|
||||
|
||||
// Convert the scaled image back into a texture.
|
||||
scaled = driver->addTexture(scalename, destimg, NULL);
|
||||
scaled = driver->addTexture(scalename, destimg);
|
||||
destimg->drop();
|
||||
g_txrCache[scalename] = scaled;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue