diff --git a/source/common/screen.cpp b/source/common/screen.cpp index ea31276..3d41698 100644 --- a/source/common/screen.cpp +++ b/source/common/screen.cpp @@ -178,7 +178,14 @@ void Screen::setVideoMode(int videoMode) DM.w = 1024; DM.h = 600; DM.refresh_rate = 60; - SDL_SetWindowDisplayMode(window, &DM); + if (!SDL_SetWindowDisplayMode(window, &DM)) + { + stc::cout << SDL_GetError() << std::endl; + } + else + { + stc::cout << "Changed windows display mode" << std::endl; + } #endif // Oculta el puntero