mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 09:25:37 +02:00
Client::makeScreenshot: remove device param
We already have the device param as class member
This commit is contained in:
@@ -1740,9 +1740,9 @@ float Client::getCurRate()
|
||||
m_con.getLocalStat(con::CUR_DL_RATE));
|
||||
}
|
||||
|
||||
void Client::makeScreenshot(IrrlichtDevice *device)
|
||||
void Client::makeScreenshot()
|
||||
{
|
||||
irr::video::IVideoDriver *driver = device->getVideoDriver();
|
||||
irr::video::IVideoDriver *driver = m_device->getVideoDriver();
|
||||
irr::video::IImage* const raw_image = driver->createScreenShot();
|
||||
|
||||
if (!raw_image)
|
||||
|
Reference in New Issue
Block a user