aboutsummaryrefslogtreecommitdiff
path: root/layer.h
diff options
context:
space:
mode:
Diffstat (limited to 'layer.h')
-rw-r--r--layer.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/layer.h b/layer.h
index 109535a..d06707c 100644
--- a/layer.h
+++ b/layer.h
@@ -108,10 +108,9 @@ class LayerList {
}
public:
- LayerList()
+ LayerList() : mutex(SDL_CreateMutex())
{
SLIST_INIT(&head);
- mutex = SDL_CreateMutex();
}
~LayerList()
{