summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-04-16 14:31:48 -0400
committerKonstantin Käfer <mail@kkaefer.com>2014-04-16 14:31:48 -0400
commit6872ac1b49389057c29fe9327392ad15b2083096 (patch)
tree63b12f9f0b9ddcdd370b4225e8ae9557f51e6e79 /test
parent57c5a009073b18bca9823287979c4e22fc407ee5 (diff)
downloadqtlocation-mapboxgl-6872ac1b49389057c29fe9327392ad15b2083096.tar.gz
add flag to allow flipping the png image
Diffstat (limited to 'test')
-rw-r--r--test/headless.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/headless.cpp b/test/headless.cpp
index af9f56acdc..d60e634dd6 100644
--- a/test/headless.cpp
+++ b/test/headless.cpp
@@ -127,7 +127,7 @@ TEST(Headless, initialize) {
glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
- std::string result = llmr::util::compress_png(width, height, pixels);
+ std::string result = llmr::util::compress_png(width, height, pixels, true);
llmr::util::write_file("out.png", result);
delete[] pixels;