summaryrefslogtreecommitdiff
path: root/test/headless.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/headless.cpp')
-rw-r--r--test/headless.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/headless.cpp b/test/headless.cpp
index 439a6dcab7..91533bb36b 100644
--- a/test/headless.cpp
+++ b/test/headless.cpp
@@ -98,7 +98,7 @@ TEST_P(HeadlessTest, render) {
const unsigned int w = width * pixelRatio;
const unsigned int h = height * pixelRatio;
- const std::string image = util::compress_png(w, h, view.readPixels()->get(), true);
+ const std::string image = util::compress_png(w, h, view.readPixels().get(), true);
util::write_file(actual_image, image);
}
}