Code: Select all
ITexture* IVideoDriver::CreateRenderTargetTexture(Core::Dimension2D size)
{
irr::video::ITexture *tex=Driver->createRenderTargetTexture(irr::core::dimension2d<irr::s32>(size.Width, size.Height));
return tex ? new ITexture(tex) : 0;
}