diff --git a/source/Irrlicht/CNullDriver.cpp b/source/Irrlicht/CNullDriver.cpp index 0b95bce..ed9a6f8 100644 --- a/source/Irrlicht/CNullDriver.cpp +++ b/source/Irrlicht/CNullDriver.cpp @@ -190,7 +190,7 @@ CNullDriver::CNullDriver(io::IFileSystem* io, const core::dimension2d& scre // set ExposedData to 0 - memset(&ExposedData, 0, sizeof(ExposedData)); + memset((void*)&ExposedData, 0, sizeof(ExposedData)); for (u32 i=0; i(core::position2d(0,0), core::dimension2di(texture->getOriginalSize())), - 0, - SColor(255,255,255,255), + 0, + SColor(255,255,255,255), useAlphaChannelOfTexture ); } @@ -2761,9 +2761,9 @@ bool CNullDriver::needsTransparentRenderPass(const irr::video::SMaterial& materi // zwrite disabled and getWriteZBuffer calls this function. video::IMaterialRenderer* rnd = getMaterialRenderer(material.MaterialType); - // TODO: I suspect IMaterialRenderer::isTransparent also often could use SMaterial as parameter + // TODO: I suspect IMaterialRenderer::isTransparent also often could use SMaterial as parameter // We could for example then get rid of IsTransparent function in SMaterial and move that to the software material renderer. - if (rnd && rnd->isTransparent()) + if (rnd && rnd->isTransparent()) return true; return false;