X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=src%2Fmain.h;h=88aebfed7e7d9826eaadb5f1f10990ac9f9540a4;hb=8b3424a48d2d2e20de1a0e60ff6e1d84b9b5e226;hp=9e48967ae25dc1935633ae3d2be5d1ec2badc138;hpb=6dd539966821debd18e0b86ed126742cd81d7fc9;p=ipdf%2Fcode.git diff --git a/src/main.h b/src/main.h index 9e48967..88aebfe 100644 --- a/src/main.h +++ b/src/main.h @@ -82,7 +82,7 @@ inline void MainLoop(Document & doc, Screen & scr, View & view) { // order is important... segfaults occur when screen (which inits GL) is not constructed first -_- - scr.DebugFontInit("DejaVuSansMono.ttf"); + scr.DebugFontInit("fonts/DejaVuSansMono.ttf"); scr.SetMouseHandler(RatCatcher); double total_cpu_time = 0; @@ -94,7 +94,7 @@ inline void MainLoop(Document & doc, Screen & scr, View & view) 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 = 0; // period between data output to stdout (if <= 0 there will be no output) uint64_t data_points = 0; setbuf(stdout, NULL); while (scr.PumpEvents())