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

--HG--
branch : gsoc2014-dfighter
This commit is contained in:
dfighter1985 2014-06-19 18:40:50 +02:00
parent bb7fa7987b
commit 1ce333bb00

View file

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