millorat el log del principi antes de que jaildoc remugue

This commit is contained in:
2025-11-21 14:03:11 +01:00
parent 959a513651
commit 039eb20c06
4 changed files with 6 additions and 2 deletions

View File

@@ -458,6 +458,8 @@ void Screen::initShaders() {
// Obtiene información sobre la pantalla
void Screen::getDisplayInfo() {
std::cout << "\n** VIDEO SYSTEM **\n";
int num_displays = 0;
SDL_DisplayID* displays = SDL_GetDisplays(&num_displays);
if (displays != nullptr) {
@@ -575,7 +577,7 @@ auto Screen::initSDLVideo() -> bool {
SDL_SetRenderDrawBlendMode(renderer_, SDL_BLENDMODE_BLEND);
SDL_SetRenderVSync(renderer_, Options::video.vertical_sync ? 1 : SDL_RENDERER_VSYNC_DISABLED);
std::cout << "** Video system initialized successfully\n";
std::cout << "Video system initialized successfully\n";
return true;
}