diff --git a/code/nel/tools/3d/object_viewer_qt/src/plugins/core/qnel_widget.cpp b/code/nel/tools/3d/object_viewer_qt/src/plugins/core/qnel_widget.cpp index 53dd4c7b3..36013b35f 100644 --- a/code/nel/tools/3d/object_viewer_qt/src/plugins/core/qnel_widget.cpp +++ b/code/nel/tools/3d/object_viewer_qt/src/plugins/core/qnel_widget.cpp @@ -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);