public static void main (String[] args) {
glfwInit();
// glfwWindowHint(GLFW_DEPTH_BITS, 16);
long window = glfwCreateWindow(800, 600, "GL Draw Buffer Test", glfwGetPrimaryMonitor(), 0);
glfwMakeContextCurrent(window);
glfwSetCallback(new GlfwCallbackAdapter() {
@Override
public void windowSize (long window, int width, int height) {
glViewport(0, 0, width, height);
}
});