Trunk missing two functions for IRenderTarget.h

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
thanhle
Posts: 325
Joined: Wed Jun 12, 2013 8:09 am

Trunk missing two functions for IRenderTarget.h

Post by thanhle »

Trunk missing two functions for IRenderTarget.h

getTexture()
getDepthStencil()

Regards
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Trunk missing two functions for IRenderTarget.h

Post by CuteAlien »

They are both implemented (inline) in IRenderTarget.h. Or am I missing something?
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
thanhle
Posts: 325
Joined: Wed Jun 12, 2013 8:09 am

Re: Trunk missing two functions for IRenderTarget.h

Post 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
CuteAlien
Admin
Posts: 9628
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Trunk missing two functions for IRenderTarget.h

Post 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.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
thanhle
Posts: 325
Joined: Wed Jun 12, 2013 8:09 am

Re: Trunk missing two functions for IRenderTarget.h

Post by thanhle »

That is weird,
I was downloading a fresh copy off from trunk.
Something is fishy about tortoise SVN software.

thanks
Post Reply