FramebufferTarget AbstractFramebuffer::bindInternal() { #if defined(MAGNUM_TARGET_GLES2) && !defined(MAGNUM_TARGET_WEBGL) return (this->*Context::current().state().framebuffer->bindInternalImplementation)(); #else return bindImplementationDefault(); #endif }
void AbstractFramebuffer::bindInternal(FramebufferTarget target) { #ifndef MAGNUM_TARGET_GLES2 bindImplementationDefault(target); #else (this->*Context::current()->state().framebuffer->bindImplementation)(target); #endif }
void AbstractFramebuffer::bindInternal(FramebufferTarget target) { #if defined(MAGNUM_TARGET_GLES2) && !defined(MAGNUM_TARGET_WEBGL) (this->*Context::current().state().framebuffer->bindImplementation)(target); #else bindImplementationDefault(target); #endif }