- /** Blits a region from another framebuffer into this one. If the source
- and destination regions have different dimensions, the contents will be
- stretched. If filter is true, linear interpolation will be used, otherwise
- no interpolation is done. */
- void blit_from(const Framebuffer &other, int sx0, int sy0, int sx1, int sy1,
- int dx0, int dy0, int dx1, int dy1, BufferBits bits, bool filter);
+ /** Returns FRAMEBUFFER_COMPLETE if the framebuffer is complete and can be
+ rendered to, or one of the error status codes otherwise. */
+ FramebufferStatus get_status() const { return status; }