projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a494be
)
Prevent crash on exit.
author
Wolfgang Becker
<uafr@gmx.de>
Thu, 28 Aug 2008 21:24:03 +0000
(21:24 +0000)
committer
Wolfgang Becker
<uafr@gmx.de>
Thu, 28 Aug 2008 21:24:03 +0000
(21:24 +0000)
SVN-Revision: 5755
src/video/gl_lightmap.cpp
patch
|
blob
|
history
diff --git
a/src/video/gl_lightmap.cpp
b/src/video/gl_lightmap.cpp
index
b58f66a
..
9287bec
100644
(file)
--- a/
src/video/gl_lightmap.cpp
+++ b/
src/video/gl_lightmap.cpp
@@
-152,7
+152,9
@@
namespace GL
Lightmap::~Lightmap()
{
- texture_manager->remove_texture(lightmap);
+ if(texture_manager){
+ texture_manager->remove_texture(lightmap);
+ }
delete lightmap;
}