Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[core] Disable binary programs until we fix #14294
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpsantos authored and tobrun committed Apr 12, 2019
1 parent e136e24 commit 7af6b7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mbgl/gl/context.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Context final : public gfx::Context {
#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;

Expand Down
3 changes: 2 additions & 1 deletion src/mbgl/gl/features.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7af6b7e

Please sign in to comment.