Fix assert on framebuffer binding

This commit is contained in:
Dalai Felinto 2017-05-19 14:39:27 +02:00
parent 8975ad7a88
commit eb90798727
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ void gpu_extensions_init(void)
glBindFramebuffer(GL_FRAMEBUFFER, 0);
glGetFramebufferAttachmentParameteriv(GL_FRAMEBUFFER, GL_FRONT_LEFT, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, &ret);
/* We expect FRONT_LEFT to be the default buffer. */
BLI_assert(ret == GL_NONE);
BLI_assert(ret == GL_FRAMEBUFFER_DEFAULT);
#endif
GLint r, g, b;