Changeset 1802a41 in opengl-game
- Timestamp:
- Nov 22, 2019, 9:57:47 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 0cf1a23
- Parents:
- 3782d66
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
game-gui-glfw.cpp
r3782d66 r1802a41 147 147 void glfw_key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) { 148 148 UIEvent e; 149 e.type = action == GLFW_RELEASE ? UI_EVENT_KEYUP ?UI_EVENT_KEYDOWN;149 e.type = action == GLFW_RELEASE ? UI_EVENT_KEYUP : UI_EVENT_KEYDOWN; 150 150 e.key.keycode = key; 151 151
Note:
See TracChangeset
for help on using the changeset viewer.