projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
<MatzeB> -cleanup in resource management functions
[supertux.git]
/
src
/
supertux.cpp
diff --git
a/src/supertux.cpp
b/src/supertux.cpp
index
d410aaa
..
ce71bc9
100644
(file)
--- a/
src/supertux.cpp
+++ b/
src/supertux.cpp
@@
-31,6
+31,8
@@
#include "screen.h"
#include "worldmap.h"
#include "resources.h"
#include "screen.h"
#include "worldmap.h"
#include "resources.h"
+#include "texture.h"
+#include "tile.h"
int main(int argc, char * argv[])
{
int main(int argc, char * argv[])
{
@@
-63,6
+65,10
@@
int main(int argc, char * argv[])
updatescreen();
unloadshared();
updatescreen();
unloadshared();
+ TileManager::destroy_instance();
+#ifdef DEBUG
+ Surface::debug_check();
+#endif
st_shutdown();
return 0;
st_shutdown();
return 0;