Changeset d8cf709 in opengl-game for opengl-game.cpp
- Timestamp:
- Feb 13, 2021, 11:41:39 PM (4 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- c6f0793
- Parents:
- 8b823e7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
opengl-game.cpp
r8b823e7 rd8cf709 160 160 161 161 void OpenGLGame::mainLoop() { 162 UIEvent e;162 UIEvent uiEvent; 163 163 bool quit = false; 164 164 … … 166 166 gui->processEvents(); 167 167 168 while (gui->pollEvent(&e)) { 168 while (gui->pollEvent(&uiEvent)) { 169 GameEvent& e = uiEvent.event; 170 169 171 switch (e.type) { 170 172 case UI_EVENT_QUIT:
Note:
See TracChangeset
for help on using the changeset viewer.