Llevada tota la merda que he posat este mati

This commit is contained in:
2024-09-10 13:23:47 +02:00
parent c93e824f86
commit 1e2f121d82
2 changed files with 6 additions and 6 deletions

View File

@@ -211,13 +211,13 @@ bool Director::initSDL()
// Muestra información de la pantalla
if (options->console)
{
std::cout << "\nDisplay 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 << " - " + 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);