el modo demo ya termina con un fundido

This commit is contained in:
2024-07-08 13:33:59 +02:00
parent 38272db851
commit d07fa46cb7
4 changed files with 19 additions and 3 deletions

View File

@@ -214,7 +214,7 @@ bool Director::initSDL()
incW = options->video.border.width * 2;
incH = options->video.border.height * 2;
}
window = SDL_CreateWindow(WINDOW_CAPTION, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, (param->gameWidth + incW) * options->video.window.size, (param->gameHeight + incH) * options->video.window.size, 0);
window = SDL_CreateWindow(WINDOW_CAPTION, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, (param->gameWidth + incW) * options->video.window.size, (param->gameHeight + incH) * options->video.window.size, SDL_WINDOW_HIDDEN);
if (window == nullptr)
{
if (options->console)