source: opengl-game/main-vulkan.cpp@ 99d44b2

feature/imgui-sdl points-test
Last change on this file since 99d44b2 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
Line 
1#include "vulkan-game.hpp"
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
15 cout << "Starting Vulkan Game..." << endl;
16
17 VulkanGame game;
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.