Remove unused GL feature flags

These were used only for prerendered textures, which were removed.
This commit is contained in:
John Firebaugh
2015-05-12 15:08:12 -07:00
parent 9cd749b55a
commit 0f7c6b0b52
6 changed files with 0 additions and 37 deletions

View File

@@ -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>(