summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/perf-test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/perf-test.cc b/test/perf-test.cc
index 135ed345..4de17ae7 100644
--- a/test/perf-test.cc
+++ b/test/perf-test.cc
@@ -937,11 +937,12 @@ static void RenderPdf(const char *fileName)
bmpSplash = engineSplash->renderBitmap(curPage, 100.0, 0);
msTimer.stop();
double timeInMs = msTimer.getElapsed();
- if (gfTimings)
+ if (gfTimings) {
if (!bmpSplash)
LogInfo("page splash %d: failed to render\n", curPage);
else
LogInfo("page splash %d (%dx%d): %.2f ms\n", curPage, bmpSplash->getWidth(), bmpSplash->getHeight(), timeInMs);
+ }
if (ShowPreview()) {
PreviewBitmapSplash(bmpSplash);