mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-18 17:59:51 -06:00
Add methods to disable synchronization during scene loading as the application will get killed by the sync timeout otherwise
This commit is contained in:
@@ -44,6 +44,10 @@ void SGCTWindowWrapper::setBarrier(bool enabled) {
|
||||
sgct::SGCTWindow::setBarrier(enabled);
|
||||
}
|
||||
|
||||
void SGCTWindowWrapper::setSynchronization(bool enabled) {
|
||||
sgct_core::ClusterManager::instance()->setUseIgnoreSync(enabled);
|
||||
}
|
||||
|
||||
void SGCTWindowWrapper::clearAllWindows(const glm::vec4& clearColor) {
|
||||
size_t n = sgct::Engine::instance()->getNumberOfWindows();
|
||||
for (size_t i = 0; i < n; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user