Merge branch 'tahoma2d:master' into Range_Intermediate_StatusBar_and_Tooltip
This commit is contained in:
commit
68aaa2ea60
1 changed files with 4 additions and 2 deletions
|
@ -444,8 +444,10 @@ void PlasticDeformerFx::doCompute(TTile &tile, double frame,
|
||||||
|
|
||||||
// ts->unloadTexture(texId); // Auto-released
|
// ts->unloadTexture(texId); // Auto-released
|
||||||
// due to display list destruction
|
// due to display list destruction
|
||||||
context->deleteLater();
|
//context->deleteLater();
|
||||||
// context->doneCurrent();
|
context->moveToThread(0);
|
||||||
|
context->doneCurrent();
|
||||||
|
delete context;
|
||||||
}
|
}
|
||||||
assert(glGetError() == GL_NO_ERROR);
|
assert(glGetError() == GL_NO_ERROR);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue