Page 1 of 1

Trunk missing two functions for IRenderTarget.h

Posted: Wed Jun 08, 2016 6:34 pm
by thanhle
Trunk missing two functions for IRenderTarget.h

getTexture()
getDepthStencil()

Regards

Re: Trunk missing two functions for IRenderTarget.h

Posted: Wed Jun 08, 2016 7:54 pm
by CuteAlien
They are both implemented (inline) in IRenderTarget.h. Or am I missing something?

Re: Trunk missing two functions for IRenderTarget.h

Posted: Thu Jun 09, 2016 2:14 am
by thanhle
No the two functions are missing from IRenderTarget in Trunk.

I was redownload the trunk version and recompile Irrlicht.
The compiler was complaining about missing function calls inside CD3D9Driver.cpp, which are missing in the IRenderTarget header file.

regards

Re: Trunk missing two functions for IRenderTarget.h

Posted: Thu Jun 09, 2016 8:20 am
by CuteAlien
Sorry, I still don't get it. This is that header in the current trunk: https://sourceforge.net/p/irrlicht/code ... erTarget.h

And it contains the following lines:

Code: Select all

 
//! Returns an array of previously set textures.
const core::array<ITexture*>& getTexture() const
{
    return Texture;
}
 
//! Returns a of previously set depth / depth-stencil texture.
ITexture* getDepthStencil() const
{
    return DepthStencil;
}
 
If those are not in your header then you don't have the header of the current trunk.

Re: Trunk missing two functions for IRenderTarget.h

Posted: Thu Jun 09, 2016 2:51 pm
by thanhle
That is weird,
I was downloading a fresh copy off from trunk.
Something is fishy about tortoise SVN software.

thanks