Changeset 91c89f7 in opengl-game for vulkan-ref.cpp
- Timestamp:
- Sep 25, 2019, 12:20:59 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 054d9ed
- Parents:
- 502bd0b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-ref.cpp
r502bd0b r91c89f7 236 236 cout << "GUI init succeeded" << endl; 237 237 238 window = (SDL_Window*) gui->createWindow("Vulkan Game", SCREEN_WIDTH, SCREEN_HEIGHT, false);238 window = (SDL_Window*) gui->createWindow("Vulkan Game", SCREEN_WIDTH, SCREEN_HEIGHT, true); 239 239 if (window == nullptr) { 240 240 cout << "Window could not be created!" << endl; … … 1684 1684 } 1685 1685 if (e.type == SDL_KEYDOWN) { 1686 quit = true; 1686 if (e.key.keysym.scancode == SDL_SCANCODE_ESCAPE) { 1687 quit = true; 1688 } 1687 1689 } 1688 1690 if (e.type == SDL_MOUSEBUTTONDOWN) {
Note:
See TracChangeset
for help on using the changeset viewer.