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;