[core] Disable binary programs until we fix #14294

This commit is contained in:
Thiago Marcos P. Santos
2019-04-02 18:22:16 +03:00
parent b6910407e8
commit 805b140245
2 changed files with 3 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ public:
#if MBGL_HAS_BINARY_PROGRAMS
bool supportsProgramBinaries() const;
#else
constexpr bool supportsProgramBinaries() const { return false; }
constexpr static bool supportsProgramBinaries() { return false; }
#endif
optional<std::pair<BinaryProgramFormat, std::string>> getBinaryProgram(ProgramID) const;

View File

@@ -3,5 +3,6 @@
#if __APPLE__
#define MBGL_HAS_BINARY_PROGRAMS 0
#else
#define MBGL_HAS_BINARY_PROGRAMS 1
// https://github.com/mapbox/mapbox-gl-native/issues/14294
#define MBGL_HAS_BINARY_PROGRAMS 0
#endif