the usual triangle test with the shader pipeline
This commit is contained in:
parent
1f6ff8526b
commit
351d29cd54
10 changed files with 263 additions and 105 deletions
|
@ -135,9 +135,9 @@ struct window::impl {
|
|||
|
||||
update_display_list();
|
||||
|
||||
// request specific version 3.2
|
||||
// request specific version 3.3
|
||||
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
|
||||
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2);
|
||||
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
|
||||
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
|
||||
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue