Skip to content

Commit

Permalink
Added group
Browse files Browse the repository at this point in the history
  • Loading branch information
denis authored and denis committed Dec 6, 2024
1 parent dc15be4 commit e67f65e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion GUI/src/Postprocess/Effects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ Prisma::Effects::Effects()
glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, pingpongColorbuffers[i], 0);
// also check if framebuffers are complete (no need for depth buffer)
if (glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE)
std::cout << "Framebuffer not complete!" << std::endl;
Prisma::Logger::getInstance().log(Prisma::LogLevel::ERROR,
"Frame buffer not created correctly.");
m_bloomTexture[i] = glGetTextureHandleARB(pingpongColorbuffers[i]);
glMakeTextureHandleResidentARB(m_bloomTexture[i]);
}
Expand Down

0 comments on commit e67f65e

Please sign in to comment.