void ccFrameBufferObject::setDrawBuffersN(GLsizei n) { setDrawBuffers(n,s_buffers); }
void Framebuffer::setDrawBuffers(const std::vector<GLenum> & modes) const { setDrawBuffers(static_cast<int>(modes.size()), modes.data()); }