X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fmain.h;h=108e392a33d03e8547e3798fd8011044ef1b2652;hp=5b9d2637854175e7e3c8144c823cede1392d94f1;hb=326f04a375ce3120f7e8957e3d7cd5f296f513e3;hpb=35bc799125eec0d0c839af56fd136c8e85793a56 diff --git a/src/main.h b/src/main.h index 5b9d263..108e392 100644 --- a/src/main.h +++ b/src/main.h @@ -74,7 +74,7 @@ void RatCatcher(int x, int y, int buttons, int wheel, Screen * scr, View * view) } -inline void MainLoop(Document & doc, Screen & scr, View & view, int max_frames = -1) +void MainLoop(Document & doc, Screen & scr, View & view, int max_frames = -1) { // order is important... segfaults occur when screen (which inits GL) is not constructed first -_- DebugScript script; @@ -156,6 +156,12 @@ inline void MainLoop(Document & doc, Screen & scr, View & view, int max_frames = scr.DebugFontPrint("Doing coordinate transform on the CPU.\n"); } #endif + + #ifdef TRANSFORM_BEZIERS_TO_PATH + scr.DebugFontPrint("Beziers have been transformed to Path\n"); + #endif + + if (view.UsingGPURendering()) { scr.DebugFontPrint("Doing rendering using GPU.\n");