git.ucc.asn.au
/
ipdf
/
code.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Classify Beziers, use DeCasteljau for CPU renderer
[ipdf/code.git]
/
src
/
main.h
diff --git
a/src/main.h
b/src/main.h
index
9e48967
..
88aebfe
100644
(file)
--- 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())
UCC
git Repository :: git.ucc.asn.au