switched to lwjgl3, began changing way screen resize system works, minor bug fix with options screen
This commit is contained in:
@@ -1,23 +1,17 @@
|
||||
package zero1hd.rhythmbullet.desktop;
|
||||
|
||||
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
|
||||
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
|
||||
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application;
|
||||
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration;
|
||||
|
||||
import zero1hd.rhythmbullet.RhythmBullet;
|
||||
|
||||
public class DesktopLauncher {
|
||||
public static void main (String[] arg) {
|
||||
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
|
||||
config.title = "Rhythm Bullet";
|
||||
config.width = 800;
|
||||
config.height = 480;
|
||||
Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration();
|
||||
config.setTitle("Rhythm Bullet");
|
||||
config.setResizable(false);
|
||||
config.setWindowSizeLimits(800, 480, 3840, 2160);
|
||||
|
||||
config.resizable = false;
|
||||
config.useHDPI = true;
|
||||
// System.setProperty("org.lwjgl.opengl.Window.undecorated", "true");
|
||||
|
||||
|
||||
new LwjglApplication(new RhythmBullet(), config);
|
||||
|
||||
new Lwjgl3Application(new RhythmBullet(), config);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user