Code: Select all
device =
#ifdef _IRR_OSX_PLATFORM_
// Mac OS X
createDevice( video::EDT_OPENGL, dimension2d<s32>(PixelsHorizontal, PixelsVertical), 16, false, false, false, 0);
#else
// Windows
irr::createDevice( irr::video::EDT_SOFTWARE, irr::core::dimension2d<irr::s32>(PixelsHorizontal, PixelsVertical), 16, false, false, false, 0);
#endif
Any ideas?
Please i need help ASAP