From c10255ab3da17507d63bdc7e1fdfc809ffd32f7f Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 31 May 2014 13:54:56 -0400 Subject: pigment: Use pool. --- libdimension/texture.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libdimension/texture.c') 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); -- cgit v1.2.3