mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-29 15:40:26 -06:00
Disable the swap barrier before the scene load (and reactivating it afterwards)
This commit is contained in:
@@ -714,4 +714,12 @@ void OpenSpaceEngine::externalControlCallback(const char* receivedChars,
|
||||
}
|
||||
}
|
||||
|
||||
void OpenSpaceEngine::enableBarrier() {
|
||||
sgct::SGCTWindow::setBarrier(true);
|
||||
}
|
||||
|
||||
void OpenSpaceEngine::disableBarrier() {
|
||||
sgct::SGCTWindow::setBarrier(false);
|
||||
}
|
||||
|
||||
} // namespace openspace
|
||||
|
||||
Reference in New Issue
Block a user