debug
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include "notify.h" // for Notify
|
||||
#include "options.h" // for options
|
||||
#include "on_screen_help.h"
|
||||
#include "global_inputs.h"
|
||||
|
||||
#ifndef NO_SHADERS
|
||||
#include "jail_shader.h" // for init, render
|
||||
@@ -67,7 +68,7 @@ Screen::Screen(SDL_Window *window, SDL_Renderer *renderer) : window(window), ren
|
||||
fpsCounter = 0;
|
||||
fps = 0;
|
||||
#ifdef DEBUG
|
||||
showInfo = false;
|
||||
showInfo = true;
|
||||
#else
|
||||
showInfo = false;
|
||||
#endif
|
||||
@@ -537,6 +538,8 @@ void Screen::displayInfo()
|
||||
|
||||
// Resolution
|
||||
dbg_print(0, 0, infoResolution.c_str(), 255, 255, 0);
|
||||
|
||||
dbg_print(0, 8, std::to_string(globalInputs::servicePressedCounter[0]).c_str(), 255, 255, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user