Commit 0630b24f authored by Janis Born's avatar Janis Born

hotfix lense flares

parent 016b5c75
......@@ -101,7 +101,10 @@ bool FrameBufferObject::attachColorAttachment( const Attachment &_attachment )
// attach it to the OpenGL object:
bind();
openGLCriticalErrorOccured();
if(openGLCriticalErrorOccured()) {
Utils::debug() << "BAAAAAAAAAAAAM" << std::endl;
}
if (_attachment.renderBuffer) {
// it's a renderBuffer
glFramebufferRenderbuffer( GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + realLocation, GL_RENDERBUFFER, _attachment.renderBuffer->getObjectName() );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment