Fixed: OVQT core plugin build on Mac OS X

This commit is contained in:
rti 2011-01-24 12:42:47 +01:00
parent 9337c6f0d4
commit 0423c18309

View file

@ -55,7 +55,8 @@ void QNLWidget::init()
nlassert(_driver);
// initialize the nel 3d viewport
_driver->setDisplay(winId(), NL3D::UDriver::CMode(width(), height(), 32));
_driver->setDisplay((nlWindow)winId(),
NL3D::UDriver::CMode(width(), height(), 32));
// set the cache size for the font manager(in bytes)
_driver->setFontManagerMaxMemory(2097152);