diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-07-21 12:45:47 +0300 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-08-05 11:42:22 +0200 |
commit | 3ae506ee1301bcc3f9961a9282f710b8b7fa8039 (patch) | |
tree | 225b86322734f372a8d24c1c24ffa187aff4febd /src/mbgl/geometry | |
parent | 57bed88b03e87344712800f8fbe796f81a00fc16 (diff) | |
download | qtlocation-mapboxgl-3ae506ee1301bcc3f9961a9282f710b8b7fa8039.tar.gz |
[core] Use NDEBUG instead of DEBUG
CMake defines 'NDEBUG' by default for release build, so we can check if
that's not defined instead of using 'DEBUG' for debug build.
Diffstat (limited to 'src/mbgl/geometry')
-rw-r--r-- | src/mbgl/geometry/glyph_atlas.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mbgl/geometry/glyph_atlas.cpp b/src/mbgl/geometry/glyph_atlas.cpp index cfc5962eb3..ff62c5b897 100644 --- a/src/mbgl/geometry/glyph_atlas.cpp +++ b/src/mbgl/geometry/glyph_atlas.cpp @@ -177,10 +177,6 @@ void GlyphAtlas::upload(gl::ObjectStore& store, gl::Config& config, uint32_t uni } dirty = false; - -#if defined(DEBUG) - // platform::showDebugImage("Glyph Atlas", reinterpret_cast<char*>(data.get()), width, height); -#endif } } |