mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-09 13:12:58 -06:00
Do not clear Framebuffer in FramebufferRenderer so that multiviewport rendering works
This commit is contained in:
@@ -293,12 +293,10 @@ void FramebufferRenderer::updateRaycastData() {
|
||||
}
|
||||
|
||||
void FramebufferRenderer::render(float blackoutFactor, bool doPerformanceMeasurements) {
|
||||
|
||||
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||
|
||||
|
||||
if (_scene == nullptr) return;
|
||||
if (_camera == nullptr) return;
|
||||
if (!_scene)
|
||||
return;
|
||||
if (!_camera)
|
||||
return;
|
||||
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
glEnable(GL_BLEND);
|
||||
|
||||
Reference in New Issue
Block a user