Arreglado tamaño de las notificaciones en pantalla completa

This commit is contained in:
2022-11-23 20:33:54 +01:00
parent ea5360ea74
commit 7070dac482
5 changed files with 8 additions and 11 deletions

View File

@@ -370,6 +370,11 @@ void Screen::renderNotifications()
SDL_RenderSetLogicalSize(renderer, (windowWidth * 3) / 2, (windowHeight * 3) / 2);
}
if (options->videoMode == SDL_WINDOW_FULLSCREEN_DESKTOP)
{
SDL_RenderSetLogicalSize(renderer, windowWidth / 3, windowHeight / 3);
}
notify->render();
SDL_RenderSetLogicalSize(renderer, windowWidth, windowHeight);
}