From 0423c18309a30125fd59e12d1beec55aa27d3110 Mon Sep 17 00:00:00 2001 From: rti Date: Mon, 24 Jan 2011 12:42:47 +0100 Subject: [PATCH] Fixed: OVQT core plugin build on Mac OS X --- .../tools/3d/object_viewer_qt/src/plugins/core/qnel_widget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);