mirror of
https://github.com/glest/glest-source.git
synced 2025-02-25 04:02:30 +01:00
no more SDL_WINDOW_RESIZABLE
This gave strange effects with missing parts on the screen and bad mouse positioning. No more window resize in windowed mode, likein old MG
This commit is contained in:
parent
45598620fa
commit
c402509853
@ -80,7 +80,7 @@ void PlatformContextGl::init(int colorBits, int depthBits, int stencilBits,
|
||||
|
||||
// SDL_WINDOW_FULLSCREEN seems very broken when changing resolutions that differ from the desktop resolution
|
||||
// For now fullscreen will mean use desktop resolution
|
||||
int flags = SDL_WINDOW_OPENGL | SDL_WINDOW_RESIZABLE;
|
||||
int flags = SDL_WINDOW_OPENGL;
|
||||
if(PlatformCommon::Private::shouldBeFullscreen) {
|
||||
Window::setIsFullScreen(true);
|
||||
//flags |= SDL_WINDOW_FULLSCREEN;
|
||||
|
Loading…
x
Reference in New Issue
Block a user