diff options
Diffstat (limited to 'libdimension/texture.c')
-rw-r--r-- | libdimension/texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/texture.c b/libdimension/texture.c index 3018bcd..24ff9af 100644 --- a/libdimension/texture.c +++ b/libdimension/texture.c @@ -33,8 +33,8 @@ dmnsn_new_texture(void) texture->pigment = NULL; texture->finish = dmnsn_new_finish(); texture->trans = dmnsn_identity_matrix(); - texture->refcount = 1; texture->initialized = false; + DMNSN_REFCOUNT_INIT(texture); return texture; } |