namespace Msp {
namespace GL {
-Tag Sequence::noclear_tag = "noclear";
+const Tag Sequence::noclear_tag = "noclear";
Sequence::Sequence(unsigned w, unsigned h, const FrameFormat &f):
width(w),
{
unsigned j = i%2;
renderer.set_framebuffer(i+1<postproc.size() ? &target[1-j]->get_framebuffer() : out_fbo);
- renderer.clear(0);
const Texture2D &color = target[j]->get_target_texture(COLOR_ATTACHMENT);
const Texture2D &depth = target[j]->get_target_texture(DEPTH_ATTACHMENT);
postproc[i]->render(renderer, color, depth);