Resize should now be working correctly.

This commit is contained in:
Tleety
2016-02-19 11:42:52 +01:00
parent e15a7b9485
commit 8c9f4bb84b
7 changed files with 56 additions and 4 deletions
+3 -1
View File
@@ -72,7 +72,9 @@ void FrameBuffer::Generate()
GLenum* bufferTextures = &attachments[0];
glDrawBuffers(attachments.size(), bufferTextures);
GLERROR("GLBufferAttachement error");
if (GLERROR("GLBufferAttachement error")) {
printf(": AttachmentSize %i", attachments.size());
}
if (GLenum frameBufferStatus = glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE) {
GLERROR("Framebuffer incomplete");