diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-04-16 14:31:48 -0400 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-04-16 14:31:48 -0400 |
commit | 6872ac1b49389057c29fe9327392ad15b2083096 (patch) | |
tree | 63b12f9f0b9ddcdd370b4225e8ae9557f51e6e79 /test | |
parent | 57c5a009073b18bca9823287979c4e22fc407ee5 (diff) | |
download | qtlocation-mapboxgl-6872ac1b49389057c29fe9327392ad15b2083096.tar.gz |
add flag to allow flipping the png image
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 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; |