fix sdl13 build
authorXeli
Thu, 17 May 2012 15:58:24 +0200
changeset 7085 953a9d896df1
parent 7083 5339aba29571
child 7086 e99944b25764
fix sdl13 build
hedgewars/uStore.pas
--- 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;