summaryrefslogtreecommitdiff
path: root/android/cpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-05-12 15:08:12 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-05-13 19:01:57 -0700
commit0f7c6b0b52ac76db3bb0064b4230229d9def62a8 (patch)
tree067ad1992836a80199d31abb8e24918ac52487a7 /android/cpp
parent9cd749b55af8ca62f55726018189baeb856fa892 (diff)
downloadqtlocation-mapboxgl-0f7c6b0b52ac76db3bb0064b4230229d9def62a8.tar.gz
Remove unused GL feature flags
These were used only for prerendered textures, which were removed.
Diffstat (limited to 'android/cpp')
-rw-r--r--android/cpp/native_map_view.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/android/cpp/native_map_view.cpp b/android/cpp/native_map_view.cpp
index be07ba50e5..4a2e4099a3 100644
--- a/android/cpp/native_map_view.cpp
+++ b/android/cpp/native_map_view.cpp
@@ -610,15 +610,6 @@ void loadExtensions() {
assert(gl::IsVertexArray != nullptr);
}
- if (extensions.find("GL_OES_packed_depth_stencil") != std::string::npos) {
- mbgl::Log::Info(mbgl::Event::OpenGL, "Using GL_OES_packed_depth_stencil.");
- gl::isPackedDepthStencilSupported = true;
- }
-
- if (extensions.find("GL_OES_depth24") != std::string::npos) {
- gl::isDepth24Supported = true;
- }
-
if (extensions.find("GL_KHR_debug") != std::string::npos) {
mbgl::Log::Info(mbgl::Event::OpenGL, "Using GL_KHR_debug.");
gl::DebugMessageControl = reinterpret_cast<gl::PFNGLDEBUGMESSAGECONTROLPROC>(