Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2017-05-19 15:39:27 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-05-19 15:39:27 +0300
commiteb9079872781d8611155abeb3af2cabd6d33cd2f (patch)
tree77372fe7f56694b201e5f36ff17b30e4450e582f /source/blender/gpu/intern/gpu_extensions.c
parent8975ad7a88113a19f63e80f6b4073608cc02e72a (diff)
Fix assert on framebuffer binding
Diffstat (limited to 'source/blender/gpu/intern/gpu_extensions.c')
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index 326f3bed391..6bf330179d3 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -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;