mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 10:05:46 -05:00
GLScope and GLSpectrum removed extraneous call to cleanup method. Fixes #1295
This commit is contained in:
parent
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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user