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:
titiger 2015-10-13 02:29:19 +02:00
parent 45598620fa
commit c402509853

View File

@ -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;