Advertisement
SrinjoySS01

GLEW interface

Dec 3rd, 2020
303
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.46 KB | None | 0 0
  1. import com.sun.jna.Library;
  2. import com.sun.jna.Native;
  3.  
  4. public interface GLFW extends Library {
  5.     GLFW INSTANCE = Native.loadLibrary("libglfw.3.3.dylib", GLFW.class);
  6.     long glfwCreateWindow(int width, int height, String title, long monitor, long share);
  7.     int glfwInit();
  8.     void glfwTerminate();
  9.     void glfwMakeContextCurrent(long window);
  10.     int glfwWindowShouldClose(long window);
  11.     void glfwSwapBuffers(long window);
  12.     void glfwPollEvents();
  13. }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement