Remove shitty commented out thingie causing an error

This commit is contained in:
FakeShemp
2016-03-03 14:46:01 +01:00
parent a0f2f2bf5f
commit d2f47e754f
+1 -2
View File
@@ -65,8 +65,7 @@ void FrameBuffer::Generate()
}
GLERROR("2");
// Need GL_DEPTH_ATTACHMENT for shadows
if (/*(*it)->m_Attachment != GL_DEPTH_ATTACHMENT &&*/ (*it)->m_Attachment != GL_STENCIL_ATTACHMENT && (*it)->m_Attachment != GL_DEPTH_STENCIL_ATTACHMENT) {
if ((*it)->m_Attachment != GL_DEPTH_ATTACHMENT && (*it)->m_Attachment != GL_STENCIL_ATTACHMENT && (*it)->m_Attachment != GL_DEPTH_STENCIL_ATTACHMENT) {
attachments.push_back((*it)->m_Attachment);
}
GLERROR("Attachment");