Feature parameters, fix #403
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright 2016-2017 Longri
|
||||
* Copyright 2016 devemux86
|
||||
* Copyright 2016-2017 devemux86
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Lesser General Public License as published by the Free Software
|
||||
@@ -19,7 +19,7 @@ import com.badlogic.gdx.backends.iosrobovm.IOSApplication;
|
||||
import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration;
|
||||
|
||||
import org.oscim.backend.CanvasAdapter;
|
||||
import org.oscim.theme.ThemeLoader;
|
||||
import org.oscim.utils.Parameters;
|
||||
import org.robovm.apple.foundation.NSAutoreleasePool;
|
||||
import org.robovm.apple.glkit.GLKViewDrawableStencilFormat;
|
||||
import org.robovm.apple.uikit.UIApplication;
|
||||
@@ -38,12 +38,12 @@ public class ExampleLauncher extends IOSApplication.Delegate {
|
||||
float scale = (float) (getIosVersion() >= 8 ? UIScreen.getMainScreen().getNativeScale() : UIScreen.getMainScreen().getScale());
|
||||
CanvasAdapter.dpi *= scale;
|
||||
|
||||
IOSMapApp iosMapApp = new IOSMapApp();
|
||||
IOSMapApp iosMapApp = new IOSMapApp();
|
||||
// IOSLineTexTest iosMapApp = new IOSLineTexTest();
|
||||
// IOSMapAppCluster iosMapApp = new IOSMapAppCluster();
|
||||
|
||||
|
||||
ThemeLoader.POT_TEXTURES = true;
|
||||
Parameters.POT_TEXTURES = true;
|
||||
iosMapApp.init();
|
||||
|
||||
return new IOSApplication(iosMapApp, config);
|
||||
|
||||
Reference in New Issue
Block a user