diff --git a/src/Magnum/AbstractFramebuffer.cpp b/src/Magnum/AbstractFramebuffer.cpp index 47e61af6e..d5ced3a92 100644 --- a/src/Magnum/AbstractFramebuffer.cpp +++ b/src/Magnum/AbstractFramebuffer.cpp @@ -108,6 +108,7 @@ void AbstractFramebuffer::bindInternal(FramebufferTarget target) { #ifndef MAGNUM_TARGET_GLES2 bindImplementationDefault(target); #elif defined(MAGNUM_TARGET_WEBGL) + static_cast(target); bindImplementationSingle(); #else (this->*Context::current().state().framebuffer->bindImplementation)(target);