mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-17 11:00:31 -05:00
Updating Ghoul repository
Updating SGCT repository Removing compiler warnings
This commit is contained in:
@@ -374,12 +374,12 @@ void FramebufferRenderer::render(float blackoutFactor, bool doPerformanceMeasure
|
||||
ghoul::opengl::ProgramObject* raycastProgram = nullptr;
|
||||
|
||||
if (cameraIsInside) {
|
||||
if (raycastProgram = _insideRaycastPrograms[raycaster].get()) {
|
||||
if (raycastProgram == _insideRaycastPrograms[raycaster].get()) {
|
||||
raycastProgram->activate();
|
||||
raycastProgram->setUniform("cameraPosInRaycaster", cameraPosition);
|
||||
}
|
||||
} else {
|
||||
if (raycastProgram = _raycastPrograms[raycaster].get()) {
|
||||
if (raycastProgram == _raycastPrograms[raycaster].get()) {
|
||||
raycastProgram->activate();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user