Fix server build
This commit is contained in:
parent
ffe4dd88b4
commit
f43f76b7c9
@ -1826,6 +1826,7 @@ void IrrDriver::dropAllTextures(const scene::IMesh *mesh)
|
|||||||
void IrrDriver::applyMask(video::ITexture* texture,
|
void IrrDriver::applyMask(video::ITexture* texture,
|
||||||
const std::string& mask_path)
|
const std::string& mask_path)
|
||||||
{
|
{
|
||||||
|
#ifndef SERVER_ONLY
|
||||||
video::IImage* img =
|
video::IImage* img =
|
||||||
m_video_driver->createImage(texture, core::position2d<s32>(0,0),
|
m_video_driver->createImage(texture, core::position2d<s32>(0,0),
|
||||||
texture->getSize());
|
texture->getSize());
|
||||||
@ -1879,6 +1880,7 @@ void IrrDriver::applyMask(video::ITexture* texture,
|
|||||||
core::stringc(texture->getName()).c_str());
|
core::stringc(texture->getName()).c_str());
|
||||||
img->drop();
|
img->drop();
|
||||||
mask->drop();
|
mask->drop();
|
||||||
|
#endif
|
||||||
} // applyMask
|
} // applyMask
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user