Remove warnings

Update Ghoul repository
Fix spelling mistake in openspace.cfg
This commit is contained in:
Alexander Bock
2017-06-08 00:07:51 -04:00
parent 1e0240b47a
commit 9a7eba16bd
24 changed files with 66 additions and 58 deletions

View File

@@ -158,6 +158,7 @@ int SGCTWindowWrapper::currentNumberOfAaSamples() const {
bool SGCTWindowWrapper::isRegularRendering() const {
sgct::SGCTWindow* w = sgct::Engine::instance()->getCurrentWindowPtr();
std::size_t nViewports = w->getNumberOfViewports();
(void)nViewports; // Unused in Release mode
ghoul_assert(nViewports > 0, "At least one viewport must exist at this time");
sgct_core::Viewport* vp = w->getViewport(0);
sgct_core::NonLinearProjection* nlp = vp->getNonLinearProjectionPtr();