Commit bbe83e3f authored by nadro's avatar nadro

- Changed default values for parameters and settings like a StencilBuffer...

- Changed default values for parameters and settings like a StencilBuffer (from OFF to ON), ColorBuffer Bits (from 16 to 32) and ZBuffer Bits (from 16 to 24).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5159 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 1cb35730
...@@ -25,10 +25,10 @@ namespace irr ...@@ -25,10 +25,10 @@ namespace irr
DriverType(video::EDT_BURNINGSVIDEO), DriverType(video::EDT_BURNINGSVIDEO),
WindowSize(core::dimension2d<u32>(800, 600)), WindowSize(core::dimension2d<u32>(800, 600)),
WindowPosition(core::position2di(-1,-1)), WindowPosition(core::position2di(-1,-1)),
Bits(16), Bits(32),
ZBufferBits(16), ZBufferBits(24),
Fullscreen(false), Fullscreen(false),
Stencilbuffer(false), Stencilbuffer(true),
Vsync(false), Vsync(false),
AntiAlias(0), AntiAlias(0),
HandleSRGB(false), HandleSRGB(false),
...@@ -107,10 +107,10 @@ namespace irr ...@@ -107,10 +107,10 @@ namespace irr
//! Position of the window on-screen. Default: (-1, -1) or centered. //! Position of the window on-screen. Default: (-1, -1) or centered.
core::position2di WindowPosition; core::position2di WindowPosition;
//! Minimum Bits per pixel of the color buffer in fullscreen mode. Ignored if windowed mode. Default: 16. //! Minimum Bits per pixel of the color buffer in fullscreen mode. Ignored if windowed mode. Default: 32.
u8 Bits; u8 Bits;
//! Minimum Bits per pixel of the depth buffer. Default: 16. //! Minimum Bits per pixel of the depth buffer. Default: 24.
u8 ZBufferBits; u8 ZBufferBits;
//! Should be set to true if the device should run in fullscreen. //! Should be set to true if the device should run in fullscreen.
...@@ -122,7 +122,7 @@ namespace irr ...@@ -122,7 +122,7 @@ namespace irr
stencil buffer shadows. Note that not all drivers are able to stencil buffer shadows. Note that not all drivers are able to
use the stencil buffer, hence it can be ignored during device use the stencil buffer, hence it can be ignored during device
creation. Without the stencil buffer no shadows will be drawn. creation. Without the stencil buffer no shadows will be drawn.
Default: false. */ Default: true. */
bool Stencilbuffer; bool Stencilbuffer;
//! Specifies vertical syncronisation. //! Specifies vertical syncronisation.
......
...@@ -328,9 +328,9 @@ namespace irr ...@@ -328,9 +328,9 @@ namespace irr
video::E_DRIVER_TYPE deviceType = video::EDT_SOFTWARE, video::E_DRIVER_TYPE deviceType = video::EDT_SOFTWARE,
// parantheses are necessary for some compilers // parantheses are necessary for some compilers
const core::dimension2d<u32>& windowSize = (core::dimension2d<u32>(640,480)), const core::dimension2d<u32>& windowSize = (core::dimension2d<u32>(640,480)),
u32 bits = 16, u32 bits = 32,
bool fullscreen = false, bool fullscreen = false,
bool stencilbuffer = false, bool stencilbuffer = true,
bool vsync = false, bool vsync = false,
IEventReceiver* receiver = 0); IEventReceiver* receiver = 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment