diff -r 8d1724e1337e -r f264ad9d8965 hedgewars/uStore.pas --- a/hedgewars/uStore.pas Sat May 05 17:29:04 2012 +0100 +++ b/hedgewars/uStore.pas Sat May 05 18:10:41 2012 +0100 @@ -47,6 +47,8 @@ //type TGPUVendor = (gvUnknown, gvNVIDIA, gvATI, gvIntel, gvApple); var MaxTextureSize: LongInt; +{$IFDEF SDL13}SDLGLcontext: PSDL_GLContext;{$ENDIF} + // cGPUVendor: TGPUVendor; function WriteInRect(Surface: PSDL_Surface; X, Y: LongInt; Color: LongWord; Font: THWFont; s: ansistring): TSDL_Rect; @@ -1137,6 +1139,9 @@ // init all count texture pointers for i:= Low(CountTexz) to High(CountTexz) do CountTexz[i] := nil; +{$IFDEF SDL13} + SDLGLcontext := nil; +{$ENDIF} end; procedure freeModule;