diff options
Diffstat (limited to 'src/game/editor/ed_editor.hpp')
| -rw-r--r-- | src/game/editor/ed_editor.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/editor/ed_editor.hpp b/src/game/editor/ed_editor.hpp index df3a1fc1..80ca42d5 100644 --- a/src/game/editor/ed_editor.hpp +++ b/src/game/editor/ed_editor.hpp @@ -221,6 +221,11 @@ public: format = 0; } + ~IMAGE() + { + gfx_unload_texture(tex_id); + } + int tex_id; int external; char name[128]; |