summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Springmeyer <dane@mapbox.com>2019-09-08 09:40:33 -0700
committerDane Springmeyer <dane@mapbox.com>2019-09-08 09:40:33 -0700
commit43a1e5fe79bb06e3d7c5eaf5ca31f55dce5e4c79 (patch)
treebf1577eebe940b5ac207ce7410e255f3c6a8d008
parent1ac0b80e522099c1b5e72107e0f822e8f09dc0ab (diff)
downloadqtlocation-mapboxgl-43a1e5fe79bb06e3d7c5eaf5ca31f55dce5e4c79.tar.gz
remove debug print
-rw-r--r--src/mbgl/gl/context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/gl/context.cpp b/src/mbgl/gl/context.cpp
index a1fdf6d38e..4d9c2055de 100644
--- a/src/mbgl/gl/context.cpp
+++ b/src/mbgl/gl/context.cpp
@@ -12,7 +12,7 @@
#include <mbgl/util/traits.hpp>
#include <mbgl/util/std.hpp>
#include <mbgl/util/logging.hpp>
-#include <iostream>
+
#include <cstring>
namespace mbgl {
@@ -286,7 +286,7 @@ std::unique_ptr<uint8_t[]> Context::readFramebuffer(const Size size, const gfx::
// When reading data from the framebuffer, make sure that we are storing the values
// tightly packed into the buffer to avoid buffer overruns.
pixelStorePack = { 1 };
- std::clog << data.get() << " " << size.width << " " << size.height << "\n";
+
MBGL_CHECK_ERROR(glReadPixels(0, 0, size.width, size.height,
Enum<gfx::TexturePixelType>::to(format), GL_UNSIGNED_BYTE,
data.get()));