MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / initializeGL

Method initializeGL

Gui/ViewerGL.cpp:1246–1257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1244} // drawPersistentMessage
1245
1246void
1247ViewerGL::initializeGL()
1248{
1249 // always running in the main thread
1250 assert( qApp && qApp->thread() == QThread::currentThread() );
1251 appPTR->initializeOpenGLFunctionsOnce();
1252 makeCurrent();
1253 if ( !appPTR->isOpenGLLoaded() ) {
1254 throw std::runtime_error("OpenGL was not loaded");
1255 }
1256 _imp->initializeGL();
1257}
1258
1259GLuint
1260ViewerGL::getPboID(int index)

Callers

nothing calls this directly

Calls 2

isOpenGLLoadedMethod · 0.80

Tested by

no test coverage detected