makeCurrent when destroying ManagedDisplayWidgets

Fixes #1555
This commit is contained in:
itsmattkc
2021-04-08 18:59:04 +10:00
parent ba0eb2335b
commit abe28f81bf
10 changed files with 24 additions and 33 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ class WaveformScope : public ScopeBase
public:
WaveformScope(QWidget* parent = nullptr);
virtual ~WaveformScope() override;
MANAGEDDISPLAYWIDGET_DEFAULT_DESTRUCTOR(WaveformScope)
protected:
virtual ShaderCode GenerateShaderCode() override;