![]() ![]() ![]() But since version 2.7 GLFW has means for doing this, using the glfwOpenWindowHint function. But for creating a core-profile context for OpenGL 3 (one where deprecated functionality has been completely removed) you have to take special measures. Your program should automatically use the highest possible version your hardware and driver support, which in your case seems to be 3.3. Just call glGetString(GL_VERSION) (once the context is initialized, of course) and put out the result (which is actually the same that glxinfo does, I suppose): printf("%s\n", glGetString(GL_VERSION))
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |