equal
deleted
inserted
replaced
1047 ResetLand; |
1047 ResetLand; |
1048 ResetWorldTex; |
1048 ResetWorldTex; |
1049 //uTextures.freeModule; //DEBUG ONLY |
1049 //uTextures.freeModule; //DEBUG ONLY |
1050 {$ENDIF} |
1050 {$ENDIF} |
1051 AddFileLog('Freeing old primary surface...'); |
1051 AddFileLog('Freeing old primary surface...'); |
|
1052 {$IFNDEF SDL13} |
1052 SDL_FreeSurface(SDLPrimSurface); |
1053 SDL_FreeSurface(SDLPrimSurface); |
1053 SDLPrimSurface:= nil; |
1054 SDLPrimSurface:= nil; |
|
1055 {$ENDIF} |
1054 {$ENDIF} |
1056 {$ENDIF} |
1055 end; |
1057 end; |
1056 |
1058 |
1057 // these attributes must be set up before creating the sdl window |
1059 // these attributes must be set up before creating the sdl window |
1058 {$IFNDEF WIN32} |
1060 {$IFNDEF WIN32} |