From 666bf8d42b6f2cbeb4023c8b5a8e9a5d0da3fafd Mon Sep 17 00:00:00 2001 From: Zach Pomerantz Date: Mon, 11 Apr 2016 14:04:34 -0700 Subject: [PATCH] Reset GL tex canvas while still running --- libraries/gpu/src/gpu/GLBackendTextureTransfer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/gpu/src/gpu/GLBackendTextureTransfer.cpp b/libraries/gpu/src/gpu/GLBackendTextureTransfer.cpp index 257ce85c02..f60c8b5b39 100644 --- a/libraries/gpu/src/gpu/GLBackendTextureTransfer.cpp +++ b/libraries/gpu/src/gpu/GLBackendTextureTransfer.cpp @@ -91,6 +91,7 @@ void GLTextureTransferHelper::setup() { void GLTextureTransferHelper::shutdown() { _canvas->doneCurrent(); _canvas->moveToThreadWithContext(qApp->thread()); + _canvas.reset(); }