Reset GL tex canvas while still running

This commit is contained in:
Zach Pomerantz 2016-04-11 14:04:34 -07:00
parent 1b7256d344
commit 666bf8d42b

View file

@ -91,6 +91,7 @@ void GLTextureTransferHelper::setup() {
void GLTextureTransferHelper::shutdown() {
_canvas->doneCurrent();
_canvas->moveToThreadWithContext(qApp->thread());
_canvas.reset();
}