You can now change resolution without any apparent bugs.

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