Screen scr;
scr.RenderBMP(input);
view.Render();
- scr.Present();
- sleep(5);
+ sleep(1);
scr.ScreenShot(output);
+ scr.Present();
+
+ sleep(1);
}
inline void MainLoop(Document & doc, const Rect & bounds = Rect(0,0,1,1), const Colour & c = Colour(0.f,0.f,0.f,1.f))