Changeset 2e77b3f in opengl-game for opengl-game.cpp


Ignore:
Timestamp:
Sep 14, 2019, 12:29:44 AM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
c559904
Parents:
cabdd5c
git-author:
Dmitry Portnoy <dmitry.portnoy@…> (09/14/19 00:27:26)
git-committer:
Dmitry Portnoy <dmitry.portnoy@…> (09/14/19 00:29:44)
Message:

Move the debug status output from the main functions to the openglgame and vulkangame classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • opengl-game.cpp

    rcabdd5c r2e77b3f  
    44
    55#include "consts.hpp"
    6 
    7 #include "game-gui-glfw.hpp"
    86
    97using namespace std;
     
    1816
    1917void OpenGLGame::run(int width, int height, unsigned char guiFlags) {
     18#ifdef NDEBUG
     19   cout << "DEBUGGING IS OFF" << endl;
     20#else
     21   cout << "DEBUGGING IS ON" << endl;
     22#endif
     23
     24   cout << "OpenGL Game" << endl;
     25
    2026   if (initWindow(width, height, guiFlags) == RTWO_ERROR) {
    2127      return;
Note: See TracChangeset for help on using the changeset viewer.