SrinjoySS01

GLEW interface

Dec 3rd, 2020
76
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
RAW Paste Data