Commit 6bbf9711 authored by Janis Born's avatar Janis Born
Browse files

Revert "hotfix lense flares"

This reverts commit 0630b24f.
parent 0630b24f
......@@ -101,10 +101,7 @@ bool FrameBufferObject::attachColorAttachment( const Attachment &_attachment )
// attach it to the OpenGL object:
bind();
if(openGLCriticalErrorOccured()) {
Utils::debug() << "BAAAAAAAAAAAAM" << std::endl;
}
openGLCriticalErrorOccured();
if (_attachment.renderBuffer) {
// it's a renderBuffer
glFramebufferRenderbuffer( GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0 + realLocation, GL_RENDERBUFFER, _attachment.renderBuffer->getObjectName() );
......
Supports Markdown
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