hedgewars/uVariables.pas
changeset 12849 22cc3d82905a
parent 12843 855faf1e19e2
child 12860 1b2b84315d27
child 12890 dab60d247b75
--- 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;