Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: PizzaNapoli on January 22, 2011, 04:13:13 pm

Title: Irrlicht wizard
Post by: PizzaNapoli on January 22, 2011, 04:13:13 pm
Hi

I'm using CB10.5 and discovered that the Irrlicht wizard for creating new Irrlicht projects is using an old template.

With the actual Irrlicht lib the following line (71) should be changed:

old:
Code
IrrlichtDevice *device = createDevice(EDT_SOFTWARE, dimension2d<s32>(640, 480), 16, false, false, false, 0);

new:
Code
IrrlichtDevice *device = createDevice(EDT_SOFTWARE, dimension2d<u32>(640, 480), 16, false, false, false, 0);

Somebody should fix that.