mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 12:14:00 +02:00
Reset GL tex canvas while still running
This commit is contained in:
parent
1b7256d344
commit
666bf8d42b
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ void GLTextureTransferHelper::setup() {
|
|||
void GLTextureTransferHelper::shutdown() {
|
||||
_canvas->doneCurrent();
|
||||
_canvas->moveToThreadWithContext(qApp->thread());
|
||||
_canvas.reset();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue