summaryrefslogtreecommitdiffstats
path: root/libdimension/texture.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/texture.c')
-rw-r--r--libdimension/texture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/texture.c b/libdimension/texture.c
index 24ff9af..516a50b 100644
--- a/libdimension/texture.c
+++ b/libdimension/texture.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. *
* *
@@ -29,7 +29,7 @@
dmnsn_texture *
dmnsn_new_texture(void)
{
- dmnsn_texture *texture = dmnsn_malloc(sizeof(dmnsn_texture));
+ dmnsn_texture *texture = DMNSN_MALLOC(dmnsn_texture);
texture->pigment = NULL;
texture->finish = dmnsn_new_finish();
texture->trans = dmnsn_identity_matrix();