Changes in game-gui-glfw.cpp [a0da009:f133da0] in opengl-game
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
game-gui-glfw.cpp
ra0da009 rf133da0 66 66 glfwSetMouseButtonCallback(window, glfw_mouse_button_callback); 67 67 glfwSetKeyCallback(window, glfw_key_callback); 68 glfwSetWindowSizeCallback(window, glfw_window_size_callback);69 68 } 70 69 … … 152 151 GameGui_GLFW::s_events.push(e); 153 152 } 154 155 void glfw_window_size_callback(GLFWwindow* window, int width, int height) {156 UIEvent e;157 e.type = UI_EVENT_WINDOWRESIZE;158 159 GameGui_GLFW::s_events.push(e);160 }
Note:
See TracChangeset
for help on using the changeset viewer.