This commit is contained in:
2024-10-03 19:35:58 +02:00
parent c07fd62037
commit ee721ff573
3 changed files with 8 additions and 3 deletions

View File

@@ -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);
}
}