diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-05-12 15:08:12 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-05-13 19:01:57 -0700 |
commit | 0f7c6b0b52ac76db3bb0064b4230229d9def62a8 (patch) | |
tree | 067ad1992836a80199d31abb8e24918ac52487a7 /android/cpp | |
parent | 9cd749b55af8ca62f55726018189baeb856fa892 (diff) | |
download | qtlocation-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.cpp | 9 |
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>( |