afegit SDL_ScaleMode scale_mode a VideoOptions

This commit is contained in:
2025-03-27 21:20:45 +01:00
parent 36b3048070
commit 11d015daf8
7 changed files with 22 additions and 39 deletions

View File

@@ -317,12 +317,6 @@ bool Screen::initSDL()
getDisplayInfo();
// Establece el filtro de la textura
/*if (!SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, std::to_string(static_cast<int>(options.video.filter)).c_str()))
{
SDL_LogWarn(SDL_LOG_CATEGORY_APPLICATION, "Warning: texture filtering not enabled!");
}*/
if (!SDL_SetHint(SDL_HINT_RENDER_DRIVER, "opengl"))
{
SDL_LogWarn(SDL_LOG_CATEGORY_APPLICATION, "Warning: opengl not enabled!");