mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-14 23:43:43 -04:00
Fixed cleanup method on shader classes. Fixes #1179
This commit is contained in:
@@ -86,6 +86,10 @@ TVScreenAnalog::~TVScreenAnalog()
|
||||
|
||||
void TVScreenAnalog::cleanup()
|
||||
{
|
||||
if (!QOpenGLContext::currentContext()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_shader)
|
||||
{
|
||||
delete m_shader;
|
||||
|
||||
Reference in New Issue
Block a user