From 2398e4136b63dcfb3e9eb912cd8dad37d79c9710 Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Tue, 10 Sep 2024 11:50:56 +0200 Subject: [PATCH] =?UTF-8?q?Peque=C3=B1os=20ajustes=20de=20formato?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/director.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/director.cpp b/source/director.cpp index d34a54c..df676a2 100644 --- a/source/director.cpp +++ b/source/director.cpp @@ -211,18 +211,18 @@ bool Director::initSDL() // Muestra información de la pantalla if (options->console) { - std::cout << "\n Display modes list:" << std::endl; + std::cout << "\nDisplay modes list:" << std::endl; for (int i = 0; i < SDL_GetNumDisplayModes(0); ++i) { SDL_DisplayMode DM; SDL_GetDisplayMode(0,i,&DM); - std::cout << "Display info: " + std::to_string(DM.w) + "x" + std::to_string(DM.h) + " @ " + std::to_string(DM.refresh_rate) + "Hz" << std::endl; + std::cout << " - " + std::to_string(DM.w) + "x" + std::to_string(DM.h) + " @ " + std::to_string(DM.refresh_rate) + "Hz" << std::endl; } SDL_DisplayMode DM; SDL_GetCurrentDisplayMode(0, &DM); - std::cout << "\nDisplay info: " + std::to_string(DM.w) + "x" + std::to_string(DM.h) + " @ " + std::to_string(DM.refresh_rate) + "Hz" << std::endl; - std::cout << "Window info : " + std::to_string(param->game.width) + "x" + std::to_string(param->game.height) + " x" + std::to_string(options->video.window.size) << std::endl; + std::cout << "\nCurrent display mode: " + std::to_string(DM.w) + "x" + std::to_string(DM.h) + " @ " + std::to_string(DM.refresh_rate) + "Hz" << std::endl; + std::cout << "Window resolution : " + std::to_string(param->game.width) + "x" + std::to_string(param->game.height) + " x" + std::to_string(options->video.window.size) << std::endl; } // Establece el filtro de la textura