From 84cb5dd93c716ff4027cc81051f3ec8c02244d68 Mon Sep 17 00:00:00 2001 From: hybrid Date: Wed, 28 Jan 2009 09:51:10 +0000 Subject: [PATCH] Fix default values for RTT methods. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2155 dfc29bdd-3216-0410-991c-e03cc46cb475 --- include/IVideoDriver.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/IVideoDriver.h b/include/IVideoDriver.h index 4eb8dcb1..dd7160af 100644 --- a/include/IVideoDriver.h +++ b/include/IVideoDriver.h @@ -373,8 +373,9 @@ namespace video by this. \param color The background color for the render target. \return True if sucessful and false if not. */ - virtual bool setRenderTarget(E_RENDER_TARGET target, bool clearTarget, - bool clearZBuffer, SColor color) =0; + virtual bool setRenderTarget(E_RENDER_TARGET target, bool clearTarget=true, + bool clearZBuffer=true, + SColor color=video::SColor(0,0,0,0)) =0; //! Sets a new viewport. /** Every rendering operation is done into this new area.