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.");

View File

@@ -39,7 +39,7 @@ public class MapFragment extends Fragment {
mMap = (MapView) inflater.inflate(R.layout.fragment_main, container, true);
// Load the access token
mMap.setAccessToken("access token goes here");
mMap.setAccessToken("sk.eyJ1IjoibGpiYWRlIiwiYSI6Inpuc0hKVjgifQ.BVDMCJQPJrldYhvkuTEYUQ");
// Need to pass on any saved state to the map
mMap.onCreate(savedInstanceState);