hedgewars/uStore.pas
changeset 7085 953a9d896df1
parent 7049 35d762458d66
child 7102 96f655d06e9e
--- a/hedgewars/uStore.pas	Thu May 17 15:58:04 2012 +0200
+++ b/hedgewars/uStore.pas	Thu May 17 15:58:24 2012 +0200
@@ -1049,8 +1049,10 @@
         //uTextures.freeModule; //DEBUG ONLY
     {$ENDIF}
         AddFileLog('Freeing old primary surface...');
+    {$IFNDEF SDL13}        
         SDL_FreeSurface(SDLPrimSurface);
         SDLPrimSurface:= nil;
+    {$ENDIF}
 {$ENDIF}
         end;