Añadidos colores al fondo

This commit is contained in:
2023-05-07 19:00:44 +02:00
parent 5363433871
commit 1923347da9
2 changed files with 17 additions and 6 deletions

View File

@@ -29,6 +29,7 @@ Screen::Screen(SDL_Window *window, SDL_Renderer *renderer, options_t *options)
std::cout << "TitleSurface could not be created!\nSDL Error: " << SDL_GetError() << std::endl;
}
}
SDL_SetTextureBlendMode(gameCanvas, SDL_BLENDMODE_BLEND);
// Establece el modo de video
setVideoMode(options->screen.mode);