Advertisement
Guest User

Untitled

a guest
Sep 26th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. System.setProperty("org.lwjgl.opengl.Display.allowSoftwareOpenGL", "true");
  2.  
  3. public class Main {
  4. public static void main(String[] args) {
  5. LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();
  6. System.setProperty("org.lwjgl.opengl.Display.allowSoftwareOpenGL", "true");
  7. config.title = "Mygame";
  8. config.width = 1920;
  9. config.height = 1080;
  10. new LwjglApplication(new MyGame(), config);
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement