init(view.get_width(), view.get_height());
}
+Pipeline::Pipeline(const Framebuffer &fbo)
+{
+ init(fbo.get_width(), fbo.get_height());
+}
+
void Pipeline::init(unsigned w, unsigned h)
{
camera = 0;
return;
const Framebuffer *out_fbo = Framebuffer::current();
- // These is a no-ops but will ensure the related state gets restored
+ // These are no-ops but will ensure the related state gets restored
BindRestore restore_fbo(out_fbo);
BindRestore restore_depth_test(DepthTest::current());
BindRestore restore_blend(Blend::current());