Changeset be246ad in opengl-game
- Timestamp:
- Aug 2, 2017, 12:18:32 AM (7 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 772d8c7, ec4456b
- Parents:
- 21de283
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
new-game.cpp
r21de283 rbe246ad 17 17 fprintf(stderr, "ERROR: could not start GLFW3\n"); 18 18 return 1; 19 } 19 } 20 21 #ifdef __APPLE__ 22 glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); 23 glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); 24 glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); 25 glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); 26 #endif 20 27 21 28 GLFWwindow* window = glfwCreateWindow(640, 480, "Hello Triangle", NULL, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.