Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import com.sun.jna.Library;
- import com.sun.jna.Native;
- public interface GLFW extends Library {
- GLFW INSTANCE = Native.loadLibrary("libglfw.3.3.dylib", GLFW.class);
- long glfwCreateWindow(int width, int height, String title, long monitor, long share);
- int glfwInit();
- void glfwTerminate();
- void glfwMakeContextCurrent(long window);
- int glfwWindowShouldClose(long window);
- void glfwSwapBuffers(long window);
- void glfwPollEvents();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement