summaryrefslogtreecommitdiffstats
path: root/libdimension/scene.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/scene.c')
-rw-r--r--libdimension/scene.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/scene.c b/libdimension/scene.c
index 3e3a9f2..9f8104b 100644
--- a/libdimension/scene.c
+++ b/libdimension/scene.c
@@ -1,5 +1,5 @@
/*************************************************************************
- * Copyright (C) 2009-2011 Tavian Barnes <tavianator@tavianator.com> *
+ * Copyright (C) 2009-2014 Tavian Barnes <tavianator@tavianator.com> *
* *
* This file is part of The Dimension Library. *
* *
@@ -30,7 +30,7 @@
dmnsn_scene *
dmnsn_new_scene(void)
{
- dmnsn_scene *scene = dmnsn_malloc(sizeof(dmnsn_scene));
+ dmnsn_scene *scene = DMNSN_MALLOC(dmnsn_scene);
scene->background = NULL;
scene->default_texture = dmnsn_new_texture();