fix: solventat el problema amb els shaders i el canvi a pantalla completa en sistemes unix
This commit is contained in:
@@ -124,7 +124,6 @@ void Screen::renderScreen()
|
||||
void Screen::setFullscreenMode()
|
||||
{
|
||||
SDL_SetWindowFullscreen(window_, Options::video.fullscreen);
|
||||
initShaders();
|
||||
}
|
||||
|
||||
// Camibia entre pantalla completa y ventana
|
||||
@@ -291,8 +290,6 @@ void Screen::adjustWindowSize()
|
||||
|
||||
SDL_SetWindowPosition(window_, std::max(NEW_POS_X, WINDOWS_DECORATIONS_), std::max(NEW_POS_Y, 0));
|
||||
SDL_SetWindowSize(window_, WIDTH, HEIGHT);
|
||||
|
||||
initShaders();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user