IrrlichtRenderer problem
Posted: Tue Aug 28, 2012 19:23
I keep getting this error when I try to construct a CEGUIIrrlichtRenderer...
error C2664: 'CEGUI::IrrlichtRenderer::IrrlichtRenderer(irr::IrrlichtDevice &)' : cannot convert parameter 1 from 'irr::IrrlichtDevice *' to 'irr::IrrlichtDevice &'
I'm using Visual Studio 9 (2008)
And the code that matters...
error C2664: 'CEGUI::IrrlichtRenderer::IrrlichtRenderer(irr::IrrlichtDevice &)' : cannot convert parameter 1 from 'irr::IrrlichtDevice *' to 'irr::IrrlichtDevice &'
I'm using Visual Studio 9 (2008)
And the code that matters...
Code: Select all
//Receiver is my Event Receiver for Irrlicht...
IrrlichtDevice * device = createDevice(video::EDT_OPENGL, dimension2d<u32>(640, 480), 16, false, false, false, &receiver);
CEGUI::IrrlichtRenderer * rend = new CEGUI::IrrlichtRenderer(device);