void Render(double time) { flow.Update(time); Framebuffer::BindDefault(Framebuffer::Target::Draw); gl.DrawBuffer(ColorBuffer::BackLeft); gl.Viewport(width, height); gl.Clear().ColorBuffer().DepthBuffer(); screen_prog.Use(); screen.Use(); screen.Draw(); }
void RenderOnscreen(double) { screen_prog.Use(); screen.Use(); screen.Draw(); }