示例#1
0
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
}
示例#3
0
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
}