diff -r 8599a7d4df54 -r 22cc3d82905a hedgewars/uVariables.pas --- a/hedgewars/uVariables.pas Sat Nov 25 09:39:52 2017 -0500 +++ b/hedgewars/uVariables.pas Sat Nov 25 09:40:43 2017 -0500 @@ -258,6 +258,9 @@ MaxTextureSize: LongInt; + SDLwindow: PSDL_Window; + SDLGLcontext: PSDL_GLContext; + ///////////////////////////////////// //Buttons {$IFDEF USE_TOUCH_INTERFACE} @@ -2891,6 +2894,9 @@ MissionIcons:= nil; ropeIconTex:= nil; + SDLWindow:= nil; + SDLGLContext:= nil; + for i:= Low(ClansArray) to High(ClansArray) do begin ClansArray[i]:= nil;