OSDN Git Service

2ada9cb0f2eb81b1c3fb94ef0ef9d2c1708a9706
[mikumikustudio/libgdx-mikumikustudio.git] / tests / gdx-tests-jglfw / src / com / badlogic / gdx / jglfw / tests / JglfwDebugStarter.java
1
2 package com.badlogic.gdx.jglfw.tests;
3
4 import com.badlogic.gdx.backends.jglfw.JglfwApplication;
5 import com.badlogic.gdx.backends.jglfw.JglfwApplicationConfiguration;
6 import com.badlogic.gdx.tests.superkoalio.SuperKoalio;
7 import com.badlogic.gdx.tests.utils.GdxTest;
8 import com.badlogic.gdx.utils.SharedLibraryLoader;
9
10 public class JglfwDebugStarter {
11         public static void main (String[] argv) {
12                 // this is only here for me to debug native code faster
13                 new SharedLibraryLoader("../../extensions/gdx-audio/libs/gdx-audio-natives.jar").load("gdx-audio");
14                 new SharedLibraryLoader("../../extensions/gdx-image/libs/gdx-image-natives.jar").load("gdx-image");
15                 new SharedLibraryLoader("../../extensions/gdx-freetype/libs/gdx-freetype-natives.jar").load("gdx-freetype");
16                 new SharedLibraryLoader("../../extensions/gdx-controllers/gdx-controllers-desktop/libs/gdx-controllers-desktop-natives.jar")
17                         .load("gdx-controllers-desktop");
18                 new SharedLibraryLoader("../../gdx/libs/gdx-natives.jar").load("gdx");
19
20                 GdxTest test = new SuperKoalio();
21                 JglfwApplicationConfiguration config = new JglfwApplicationConfiguration();
22                 config.vSync = true;
23                 config.useGL20 = test.needsGL20();
24                 new JglfwApplication(test, config);
25         }
26 }