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

@@ -22,7 +22,7 @@ public class GLAdapter {
public final static boolean debugView = false;
/** The instance provided by backend */
public static GL20 g;
private static GL20 g;
public static boolean GDX_DESKTOP_QUIRKS;
public static boolean GDX_WEBGL_QUIRKS;
@@ -35,4 +35,8 @@ public class GLAdapter {
return g;
}
public static void init(GL20 gl20) {
g = gl20;
}
}