@@ -1,6 +1,7 @@
|
||||
#include <mbgl/util/constants.hpp>
|
||||
|
||||
const float mbgl::util::tileSize = 512.0f;
|
||||
const char *mbgl::util::userAgent = "MapboxGL/1.0 (+https://mapbox.com/mapbox-gl/)";
|
||||
|
||||
#if defined(DEBUG)
|
||||
const bool mbgl::debug::tileParseWarnings = false;
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
#ifndef MBGL_UTIL_CONSTANTS
|
||||
#define MBGL_UTIL_CONSTANTS
|
||||
|
||||
#include <cmath>
|
||||
|
||||
namespace mbgl {
|
||||
|
||||
namespace util {
|
||||
|
||||
extern const float tileSize;
|
||||
|
||||
}
|
||||
|
||||
namespace debug {
|
||||
|
||||
extern const bool tileParseWarnings;
|
||||
extern const bool styleParseWarnings;
|
||||
extern const bool spriteWarnings;
|
||||
extern const bool renderWarnings;
|
||||
extern const bool renderTree;
|
||||
extern const bool labelTextMissingWarning;
|
||||
extern const bool missingFontStackWarning;
|
||||
extern const bool missingFontFaceWarning;
|
||||
extern const bool glyphWarning;
|
||||
extern const bool shapingWarning;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user