Changeset 76d19a8 in opengl-game for main-opengl.cpp


Ignore:
Timestamp:
Sep 1, 2019, 9:33:31 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
9546928
Parents:
5529ab5
Message:

Wrap all the code in openglgame and vulkangame in a CrashLogger

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main-opengl.cpp

    r5529ab5 r76d19a8  
    33#include <iostream>
    44
     5#include "crash-logger.hpp"
     6
    57using namespace std;
    68
     9int __main(int argc, char* argv[]);
     10
    711int main(int argc, char* argv[]) {
     12   CrashLogger logger(__main, argc, argv);
     13
     14   exit(0);
     15}
     16
     17int __main(int argc, char* argv[]) {
    818
    919#ifdef NDEBUG
Note: See TracChangeset for help on using the changeset viewer.