diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2014-10-08 16:04:13 -0400 |
---|---|---|
committer | Mike Morris <michael.patrick.morris@gmail.com> | 2014-10-08 16:04:19 -0400 |
commit | dfb81fe9ce796c06263c4b531cdba4d0e8571808 (patch) | |
tree | 7f6f9a0306a30067d512a80936c03ac8dd368ddc /test | |
parent | a1bc8c766d6e204a44e2c7171a80330e123b582b (diff) | |
download | qtlocation-mapboxgl-dfb81fe9ce796c06263c4b531cdba4d0e8571808.tar.gz |
fix HeadlessView::readPixels return value, ref #480
Diffstat (limited to 'test')
-rw-r--r-- | test/headless.cpp | 2 |
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); } } |