mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-04-10 06:14:07 +08:00
build: update OpenGL version to 4.6
This commit is contained in:
@@ -295,7 +295,7 @@ int main() {
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4);
|
||||
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
|
||||
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 6);
|
||||
GLFWwindow* window = glfwCreateWindow(800, 600, "Cubed", NULL, NULL);
|
||||
glfwMakeContextCurrent(window);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user