v1.2.0: fixed URI's failing to open on macOS

This commit is contained in:
Evan Debenham
2022-01-26 19:55:54 -05:00
parent c6189e32dc
commit 17d4dda402
7 changed files with 41 additions and 10 deletions

View File

@@ -63,10 +63,6 @@ public class DeviceCompat {
return Game.version.contains("INDEV");
}
public static void openURI( String URI ){
Gdx.net.openURI(URI);
}
public static void log( String tag, String message ){
Gdx.app.log( tag, message );
}

View File

@@ -47,6 +47,10 @@ public abstract class PlatformSupport {
//does nothing by default
}
public boolean openURI( String uri ){
return Gdx.net.openURI( uri );
}
//TODO should consider spinning this into its own class, rather than platform support getting ever bigger
protected static HashMap<FreeTypeFontGenerator, HashMap<Integer, BitmapFont>> fonts;