diff --git a/source/common/screen.cpp b/source/common/screen.cpp index a611483..6b6f598 100644 --- a/source/common/screen.cpp +++ b/source/common/screen.cpp @@ -98,7 +98,15 @@ void Screen::blit() // Pinta en pantalla el contador de FPS if (showFps) { - dbg_print(0, 0, std::to_string(fps).c_str(), 255, 255, 255); + // FPS + const std::string fpstext = std::to_string(fps) + " FPS"; + dbg_print(0, 0, fpstext.c_str(), 255, 255, 255); + + // Resolution + SDL_DisplayMode DM; + SDL_GetCurrentDisplayMode(0, &DM); + const std::string resolution = std::to_string(DM.w) + " X " + std::to_string(DM.h); + dbg_print(0, 8, resolution.c_str(), 255, 255, 255); } #ifdef NO_SHADERS