# HG changeset patch # User Xeli # Date 1337263104 -7200 # Node ID 953a9d896df1237db0e798c7bc0f31b525b6a258 # Parent 5339aba29571262df7ef3dd3fc3473ac063676d9 fix sdl13 build diff -r 5339aba29571 -r 953a9d896df1 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;