POT textures (#334)

This commit is contained in:
Longri
2017-03-16 11:43:38 +01:00
committed by Emux
parent d614809df0
commit d1fdca170e
12 changed files with 244 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2016 Longri
* Copyright 2016-2017 Longri
* Copyright 2016 devemux86
*
* This program is free software: you can redistribute it and/or modify it under the
@@ -19,6 +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.robovm.apple.foundation.NSAutoreleasePool;
import org.robovm.apple.glkit.GLKViewDrawableStencilFormat;
import org.robovm.apple.uikit.UIApplication;
@@ -37,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();
IOSLineTexTest iosMapApp = new IOSLineTexTest();
ThemeLoader.POT_TEXTURES = true;
iosMapApp.init();
return new IOSApplication(iosMapApp, config);