aboutsummaryrefslogtreecommitdiff
path: root/layer.h
diff options
context:
space:
mode:
Diffstat (limited to 'layer.h')
-rw-r--r--layer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/layer.h b/layer.h
index 1bbe7e6..37208c3 100644
--- a/layer.h
+++ b/layer.h
@@ -20,7 +20,7 @@ public:
mutex = SDL_CreateMutex();
Layer::name = strdup(name);
}
- ~Layer()
+ virtual ~Layer()
{
free(name);
SDL_DestroyMutex(mutex);