refactor backend Adapter classes

This commit is contained in:
Hannes Janetzek
2014-03-21 21:45:33 +01:00
parent 4e4d4270db
commit 4fb3d13404
12 changed files with 46 additions and 34 deletions

View File

@@ -1,6 +1,5 @@
package org.oscim.ios;
import org.oscim.backend.CanvasAdapter;
import org.oscim.backend.GLAdapter;
import org.oscim.gdx.GdxMap;
import org.oscim.ios.backend.IosGLAdapter;
@@ -50,8 +49,8 @@ public class RobovmLauncher extends IOSApplication.Delegate {
NSAutoreleasePool pool = new NSAutoreleasePool();
System.setProperty(org.slf4j.impl.SimpleLogger.DEFAULT_LOG_LEVEL_KEY, "TRACE");
CanvasAdapter.g = IosGraphics.get();
GLAdapter.g = new IosGLAdapter();
IosGraphics.init();
GLAdapter.init(new IosGLAdapter());
UIApplication.main(argv, null, RobovmLauncher.class);
pool.drain();