From 0f7c6b0b52ac76db3bb0064b4230229d9def62a8 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 12 May 2015 15:08:12 -0700 Subject: Remove unused GL feature flags These were used only for prerendered textures, which were removed. --- android/cpp/native_map_view.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'android/cpp') 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( -- cgit v1.2.1