From 1c14ae8988afaeb4409772d6973bca1b9a79c2db Mon Sep 17 00:00:00 2001 From: cutealien Date: Sat, 6 Mar 2021 15:58:05 +0000 Subject: [PATCH] Change default meaning of SIrrlichtCreationParameters::WindowResizable == 2 to meaning no resizing. Otherwise I probably break AmigaOS again (which was the reason to add this parameter in first place) git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6197 dfc29bdd-3216-0410-991c-e03cc46cb475 --- source/Irrlicht/CIrrDeviceSDL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Irrlicht/CIrrDeviceSDL.cpp b/source/Irrlicht/CIrrDeviceSDL.cpp index beddc13..f883bc2 100644 --- a/source/Irrlicht/CIrrDeviceSDL.cpp +++ b/source/Irrlicht/CIrrDeviceSDL.cpp @@ -53,7 +53,7 @@ CIrrDeviceSDL::CIrrDeviceSDL(const SIrrlichtCreationParameters& param) Screen((SDL_Surface*)param.WindowId), SDL_Flags(SDL_ANYFORMAT), MouseX(0), MouseY(0), MouseButtonStates(0), Width(param.WindowSize.Width), Height(param.WindowSize.Height), - Resizable(param.WindowResizable > 0 ? true : false), WindowMinimized(false) + Resizable(param.WindowResizable == 1 ? true : false), WindowMinimized(false) { #ifdef _DEBUG setDebugName("CIrrDeviceSDL");