Hot answers tagged

2

Your best bet is to make a class that replicates Javas Graphics class in LWJGL. For textures you can write your own LWJGL wrapper or use Slick 2D


1

Before glfwCreateWindow() call these functions: glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); And after glfwMakeContextCurrent(window) call: printf("OpenGL version: %s\n", glGetString(GL_VERSION));



Only top voted, non community-wiki answers of a minimum length are eligible