if(widgetStylesPrinted != true) {document.write('');}var widgetStylesPrinted = true;var content = '
Untitled
cpp
  1. // Create the device (working on Irrlicht 1.4.2, not anymore on Irrlicht 1.6)
  2. device = irr::createDevice(video::EDT_OPENGL, dimension2d<s32>(1024, 750), 16, false, false, false, 0);
  3. if (device == 0) return;
  4.  
  5. // Create the device (working on Irrlicht 1.6)
  6. device = irr::createDevice(video::EDT_OPENGL, dimension2d<u32>(1024, 750), 16, false, false, false, 0);
  7. if (device == 0) return;
';document.write(content);