Changeset 1ce9afe in opengl-game for opengl-game.cpp
- Timestamp:
- Sep 2, 2019, 7:40:49 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 7fc5e27
- Parents:
- 301d0d4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
opengl-game.cpp
r301d0d4 r1ce9afe 36 36 cout << "GUI init succeeded" << endl; 37 37 38 window = (GLFWwindow*) gui->CreateWindow("OpenGL Game", width, height );38 window = (GLFWwindow*) gui->CreateWindow("OpenGL Game", width, height, guiFlags | GUI_FLAGS_WINDOW_FULLSCREEN); 39 39 if (window == nullptr) { 40 40 cout << "Window could not be created!" << endl; … … 52 52 glfwPollEvents(); 53 53 54 if (GameGui_GLFW::s_keyState[GLFW_KEY_ESCAPE] == GLFW_PRESS) { 55 glfwSetWindowShouldClose(window, 1); 56 } 57 54 58 glfwSwapBuffers(window); 55 59 }
Note:
See TracChangeset
for help on using the changeset viewer.