16.12.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit 25b57767 authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

fixed OpenGL crash on starting CAMPVis without any pipeline

parent f56d63f0
......@@ -143,8 +143,10 @@ namespace campvis {
}
if (! hadWork) {
GLGC.deleteGarbage();
lastCleanupTime = clock();
if (_currentContext != 0) {
GLGC.deleteGarbage();
lastCleanupTime = clock();
}
tgt::GlContextManager::getRef().releaseCurrentContext();
_evaluationCondition.wait(lock);
tgt::GlContextManager::getRef().acquireContext(_currentContext);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment