Trabajando en el escalado entero y el tamaño personalizable de la ventana de renderizado a traves de las opciones

This commit is contained in:
2021-09-14 21:15:52 +02:00
parent 7e37da3999
commit 8c919abc9d
5 changed files with 45 additions and 10 deletions

View File

@@ -517,7 +517,7 @@ void Title::updateMenuLabels()
void Title::applyOptions()
{
SDL_SetWindowFullscreen(mWindow, mOptions->fullScreenMode);
SDL_SetWindowSize(mWindow, SCREEN_WIDTH * mOptions->windowSize, SCREEN_HEIGHT * mOptions->windowSize);
SDL_SetWindowSize(mWindow, mOptions->screenWidth * mOptions->windowSize, mOptions->screenHeight * mOptions->windowSize);
mLang->setLang(mOptions->language);
updateMenuLabels();