Browse Source

Fix Emscripten build.

pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
20d09aad09
  1. 4
      src/Magnum/AbstractFramebuffer.cpp

4
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);
}

Loading…
Cancel
Save