Ya funcionan las notificaciones

This commit is contained in:
2022-11-19 10:28:15 +01:00
parent 1b49097f80
commit bc84968b23
5 changed files with 24 additions and 20 deletions

View File

@@ -356,12 +356,12 @@ void Screen::showText(std::string text)
// Dibuja las notificaciones
void Screen::renderNotifications()
{
//if (!notifyActive)
//{
// return;
//}
if (!notifyActive)
{
return;
}
//SDL_RenderSetLogicalSize(renderer, windowWidth * options->windowSize, windowHeight * options->windowSize);
SDL_RenderSetLogicalSize(renderer, windowWidth * 2, windowHeight * 2);
notify->render();
//SDL_RenderSetLogicalSize(renderer, windowWidth, windowHeight);
SDL_RenderSetLogicalSize(renderer, windowWidth, windowHeight);
}