Changed: Commented out 'makeCurrent' call. Class does not have a widget() method and QNLWidget is not a defined type.

This commit is contained in:
sfb 2010-12-07 09:06:59 -06:00
parent 991da99018
commit 18dce202ba

View file

@ -86,7 +86,7 @@ namespace NLQT
//nldebug("%d %d %d",_nlw->winId(), width(), height()); //nldebug("%d %d %d",_nlw->winId(), width(), height());
#if defined(NL_OS_UNIX) && !defined(NL_OS_MAC) #if defined(NL_OS_UNIX) && !defined(NL_OS_MAC)
dynamic_cast<QNLWidget*>(widget())->makeCurrent(); //dynamic_cast<QNLWidget*>(widget())->makeCurrent();
#endif // defined(NL_OS_UNIX) && !defined(NL_OS_MAC) #endif // defined(NL_OS_UNIX) && !defined(NL_OS_MAC)
nlWindow wnd = winId(); nlWindow wnd = winId();