Merge branch 'feature/synchronization' into develop

This commit is contained in:
Alexander Bock
2016-09-22 17:58:05 +02:00
5 changed files with 21 additions and 1 deletions

View File

@@ -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) {