Changeset 5540132 in opengl-game
- Timestamp:
- Feb 23, 2017, 12:10:22 AM (8 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 15c7ed9
- Parents:
- 5a643d3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
game.cpp
r5a643d3 r5540132 7 7 // GLFW 8 8 #include <GLFW/glfw3.h> 9 10 #ifdef __APPLE__ 11 #define OSX 12 #endif 9 13 10 14 using namespace std; … … 26 30 glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); 27 31 glfwWindowHint(GLFW_RESIZABLE, GL_FALSE); 32 33 // required in OSX 34 #ifdef OSX 35 glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); 36 #endif 28 37 29 38 // Create a GLFWwindow object that we can use for GLFW's functions
Note:
See TracChangeset
for help on using the changeset viewer.