summaryrefslogtreecommitdiffstats
path: root/libdimension/texture.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/texture.c')
-rw-r--r--libdimension/texture.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libdimension/texture.c b/libdimension/texture.c
index 516a50b..37a937b 100644
--- a/libdimension/texture.c
+++ b/libdimension/texture.c
@@ -44,7 +44,6 @@ dmnsn_delete_texture(dmnsn_texture *texture)
{
if (DMNSN_DECREF(texture)) {
dmnsn_delete_finish(texture->finish);
- dmnsn_delete_pigment(texture->pigment);
dmnsn_free(texture);
}
}
@@ -79,7 +78,6 @@ dmnsn_texture_cascade(dmnsn_texture *default_texture,
if (!texture->pigment) {
texture->pigment = default_texture->pigment;
- DMNSN_INCREF(texture->pigment);
}
dmnsn_finish_cascade(&default_texture->finish, &texture->finish);