Skip to content

Commit 6199fde

Browse files
authored
Update depth and color buffer retrieval in Atmosphere.cpp
cosmoscout#421 cosmoscout/cosmoscout-vr
1 parent 7466b00 commit 6199fde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/csp-atmospheres/src/Atmosphere.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,8 @@ bool Atmosphere::Do() {
375375
mHDRBuffer->bind();
376376
}
377377

378-
auto depthBuffer = mGraphicsEngine->getCurrentDepthBufferAsTexture(false);
379-
auto colorBuffer = mGraphicsEngine->getCurrentColorBufferAsTexture(false);
378+
auto depthBuffer = mGraphicsEngine->getCurrentDepthBufferAsTexture(true);
379+
auto colorBuffer = mGraphicsEngine->getCurrentColorBufferAsTexture(true);
380380
depthBuffer->Bind(GL_TEXTURE0);
381381
colorBuffer->Bind(GL_TEXTURE1);
382382

0 commit comments

Comments
 (0)