should have fixed the contexts when undocking panel

This commit is contained in:
itsmattkc
2019-01-17 21:29:07 +11:00
parent 6ad1b2923d
commit be9c6727fa
2 changed files with 11 additions and 2 deletions
+4 -1
View File
@@ -25,13 +25,16 @@ public:
void start_render(QOpenGLContext* share, Sequence* s, const QString &save = nullptr, GLvoid *pixels = nullptr, int idivider = 0);
bool did_texture_fail();
void cancel();
public slots:
// cleanup functions
void delete_ctx();
signals:
void ready();
private:
// cleanup functions
void delete_texture();
void delete_fbo();
void delete_ctx();
QWaitCondition waitCond;
QOffscreenSurface surface;