1
0
Fork 0
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:
Jean-Patrick Guerrero 2021-03-16 19:55:10 +01:00 committed by sfan5
parent 62e3593944
commit 66b5c08664
4 changed files with 8 additions and 11 deletions

View file

@ -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;