Commit 8127d4f5 authored by cutealien's avatar cutealien

Merge branch releases/1.8 revisions 4781 to 4827 into trunk:

- Fix AA value, which was only setting 0 or 1, which does not activate AA in most cases. Thanks to Mel for noticing this.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4828 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 8a85d7db
...@@ -37,7 +37,7 @@ CDemo::~CDemo() ...@@ -37,7 +37,7 @@ CDemo::~CDemo()
void CDemo::run() void CDemo::run()
{ {
core::dimension2d<u32> resolution ( 800, 600 ); core::dimension2d<u32> resolution (800, 600);
if ( driverType == video::EDT_BURNINGSVIDEO || driverType == video::EDT_SOFTWARE ) if ( driverType == video::EDT_BURNINGSVIDEO || driverType == video::EDT_SOFTWARE )
{ {
...@@ -52,7 +52,7 @@ void CDemo::run() ...@@ -52,7 +52,7 @@ void CDemo::run()
params.Fullscreen=fullscreen; params.Fullscreen=fullscreen;
params.Stencilbuffer=shadows; params.Stencilbuffer=shadows;
params.Vsync=vsync; params.Vsync=vsync;
params.AntiAlias=aa; params.AntiAlias=aa?8:0;
params.EventReceiver=this; params.EventReceiver=this;
device = createDeviceEx(params); device = createDeviceEx(params);
......
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