From 20d09aad092ec1de86f6df25e8c21c4e741ccd0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 24 May 2015 17:10:53 +0200 Subject: [PATCH] Fix Emscripten build. --- src/Magnum/AbstractFramebuffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/AbstractFramebuffer.cpp b/src/Magnum/AbstractFramebuffer.cpp index da487f866..44032aef8 100644 --- a/src/Magnum/AbstractFramebuffer.cpp +++ b/src/Magnum/AbstractFramebuffer.cpp @@ -121,7 +121,7 @@ void AbstractFramebuffer::bindImplementationSingle(FramebufferTarget) { state.readBinding = state.drawBinding = _id; /* Binding the framebuffer finally creates it */ - _created = true; + _flags |= ObjectFlag::Created; glBindFramebuffer(GL_FRAMEBUFFER, _id); } #endif @@ -163,7 +163,7 @@ FramebufferTarget AbstractFramebuffer::bindImplementationSingle() { state.readBinding = state.drawBinding = _id; /* Binding the framebuffer finally creates it */ - _created = true; + _flags |= ObjectFlag::Created; glBindFramebuffer(GL_FRAMEBUFFER, _id); }