mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 14:11:15 +02: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:
@@ -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
|
// SDL_WINDOW_FULLSCREEN seems very broken when changing resolutions that differ from the desktop resolution
|
||||||
// For now fullscreen will mean use 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) {
|
if(PlatformCommon::Private::shouldBeFullscreen) {
|
||||||
Window::setIsFullScreen(true);
|
Window::setIsFullScreen(true);
|
||||||
//flags |= SDL_WINDOW_FULLSCREEN;
|
//flags |= SDL_WINDOW_FULLSCREEN;
|
||||||
|
Reference in New Issue
Block a user