source: opengl-game/main-vulkan.cpp@ d8cb15e

feature/imgui-sdl points-test
Last change on this file since d8cb15e was 99d44b2, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 5 years ago

Rename spacegame to vulkangame

  • Property mode set to 100644
File size: 480 bytes
RevLine 
[99d44b2]1#include "vulkan-game.hpp"
[e8ebc76]2
3#include <iostream>
4
5using namespace std;
6
7int main(int argc, char* argv[]) {
8
9#ifdef NDEBUG
10 cout << "DEBUGGING IS OFF" << endl;
11#else
12 cout << "DEBUGGING IS ON" << endl;
13#endif
14
[99d44b2]15 cout << "Starting Vulkan Game..." << endl;
[e8ebc76]16
[99d44b2]17 VulkanGame game;
[e8ebc76]18
19 try {
20 game.run();
21 } catch (const exception& e) {
22 cerr << e.what() << endl;
23 return EXIT_FAILURE;
24 }
25
26 cout << "Finished running the game" << endl;
27
28 return EXIT_SUCCESS;
29}
Note: See TracBrowser for help on using the repository browser.