summaryrefslogtreecommitdiff
path: root/include/mbgl/android/native_map_view.hpp
diff options
context:
space:
mode:
authorLeith Bade <leith@mapbox.com>2014-11-25 20:38:38 +1100
committerLeith Bade <leith@mapbox.com>2014-11-28 00:11:37 +1100
commitfbbcdca235bd6ce5e6a0b378a5580aac2a659fbe (patch)
tree8c2baf7afc327ef252d53fe0095e96a4527c2fb0 /include/mbgl/android/native_map_view.hpp
parenteac887c1b8c6ceb06c8eb568eaf42939c0f02fdb (diff)
downloadqtlocation-mapboxgl-fbbcdca235bd6ce5e6a0b378a5580aac2a659fbe.tar.gz
Perfer 16 bit depth, handle long GL extension strings
Diffstat (limited to 'include/mbgl/android/native_map_view.hpp')
-rw-r--r--include/mbgl/android/native_map_view.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mbgl/android/native_map_view.hpp b/include/mbgl/android/native_map_view.hpp
index 059847c241..8f37fe947e 100644
--- a/include/mbgl/android/native_map_view.hpp
+++ b/include/mbgl/android/native_map_view.hpp
@@ -60,7 +60,7 @@ public:
void notifyMapChange();
private:
- EGLConfig chooseConfig(const EGLConfig configs[], EGLint num_configs) const;
+ EGLConfig chooseConfig(const EGLConfig configs[], EGLint num_configs);
void loadExtensions();
@@ -84,6 +84,8 @@ private:
std::string api_key;
bool first_time = false;
+
+ bool using_depth24 = false;
};
}