X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fmain.h;h=65eabb6fb075798cf641a4c5036b4e0965ef21a7;hp=0d181c5978f0a3887621b48ab89734b2f4f46fb1;hb=17fe4372c6e26fbfa109036b64fa0729153b402a;hpb=d3e941df79b54b698a5b8a1d4763346c4d6eb3d7 diff --git a/src/main.h b/src/main.h index 0d181c5..65eabb6 100644 --- a/src/main.h +++ b/src/main.h @@ -83,7 +83,7 @@ inline void MainLoop(Document & doc, const Rect & bounds = Rect(0,0,1,1), const clock_gettime(CLOCK_MONOTONIC_RAW, &real_clock_start); real_clock_now = real_clock_start; double frames = 0; - double data_rate = 1; // period between data output to stdout (if <= 0 there will be no output) + double data_rate = -1; // period between data output to stdout (if <= 0 there will be no output) uint64_t data_points = 0; setbuf(stdout, NULL); while (scr.PumpEvents())