This commit is contained in:
Leith Bade
2014-12-02 04:42:07 +11:00
parent 917c6d1925
commit 67d513816a
2 changed files with 2 additions and 2 deletions

View File

@@ -584,7 +584,7 @@ void NativeMapView::loadExtensions() {
if (extensions.find("GL_OES_depth24") != std::string::npos) {
mbgl::Log::Info(mbgl::Event::OpenGL, "Using GL_OES_depth24.");
if (!using_depth24) {
if (using_depth24) {
gl::is_depth24_supported = true;
} else {
mbgl::Log::Info(mbgl::Event::OpenGL, "Preferring 16 bit depth.");