Changeset 98f3232 in opengl-game for vulkan-game.cpp
- Timestamp:
- Jul 11, 2019, 3:53:03 PM (6 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 321272c
- Parents:
- f286a10
- git-author:
- Dmitry Portnoy <dmitry.portnoy@…> (07/11/19 15:50:51)
- git-committer:
- Dmitry Portnoy <dmitry.portnoy@…> (07/11/19 15:53:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.cpp
rf286a10 r98f3232 91 91 } 92 92 private: 93 GameGui _SDL gui;93 GameGui* gui = new GameGui_SDL(); 94 94 SDL_Window* window = nullptr; 95 95 … … 106 106 // both SDL and GLFW create window functions return NULL on failure 107 107 bool initWindow() { 108 if (gui .Init() == RTWO_ERROR) {108 if (gui->Init() == RTWO_ERROR) { 109 109 cout << "UI library could not be initialized!" << endl; 110 110 return RTWO_ERROR; … … 416 416 SDL_DestroyWindow(window); 417 417 418 gui.Shutdown(); 418 gui->Shutdown(); 419 delete gui; 419 420 } 420 421 };
Note:
See TracChangeset
for help on using the changeset viewer.