Fix default values for RTT methods.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2155 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2009-01-28 09:51:10 +00:00
parent 06a7811de8
commit 84cb5dd93c
1 changed files with 3 additions and 2 deletions

View File

@ -373,8 +373,9 @@ namespace video
by this. by this.
\param color The background color for the render target. \param color The background color for the render target.
\return True if sucessful and false if not. */ \return True if sucessful and false if not. */
virtual bool setRenderTarget(E_RENDER_TARGET target, bool clearTarget, virtual bool setRenderTarget(E_RENDER_TARGET target, bool clearTarget=true,
bool clearZBuffer, SColor color) =0; bool clearZBuffer=true,
SColor color=video::SColor(0,0,0,0)) =0;
//! Sets a new viewport. //! Sets a new viewport.
/** Every rendering operation is done into this new area. /** Every rendering operation is done into this new area.