refactor backend Adapter classes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user