As Object Viewer no longer uses the QtOpenGL widget this is not needed.

This commit is contained in:
dfighter1985 2014-06-19 18:40:50 +02:00
parent 879a332d6d
commit d1e97345da

View file

@ -66,10 +66,6 @@ void CGraphicsViewport::init()
//H_AUTO2 //H_AUTO2
nldebug("CGraphicsViewport::init"); nldebug("CGraphicsViewport::init");
#if defined(NL_OS_UNIX) && !defined(NL_OS_MAC)
makeCurrent();
#endif // defined(NL_OS_UNIX) && !defined(NL_OS_MAC)
w->init(); w->init();
Modules::objView().init( w->getDriver() ); Modules::objView().init( w->getDriver() );
Modules::psEdit().init(); Modules::psEdit().init();