kopia lustrzana https://github.com/f4exb/sdrangel
GLScope and GLSpectrum removed extraneous call to cleanup method. Fixes #1295
rodzic
74300669fd
commit
280de9095a
|
@ -203,8 +203,6 @@ void GLScope::initializeGL()
|
|||
}
|
||||
}
|
||||
|
||||
connect(glCurrentContext, &QOpenGLContext::aboutToBeDestroyed, this, &GLScope::cleanup);
|
||||
|
||||
QOpenGLFunctions *glFunctions = QOpenGLContext::currentContext()->functions();
|
||||
glFunctions->initializeOpenGLFunctions();
|
||||
|
||||
|
|
|
@ -822,8 +822,6 @@ void GLSpectrum::initializeGL()
|
|||
return;
|
||||
}
|
||||
|
||||
connect(glCurrentContext, &QOpenGLContext::aboutToBeDestroyed, this, &GLSpectrum::cleanup);
|
||||
|
||||
QOpenGLFunctions *glFunctions = QOpenGLContext::currentContext()->functions();
|
||||
glFunctions->initializeOpenGLFunctions();
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue