diff options
Diffstat (limited to 'fragments.c')
-rw-r--r-- | fragments.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fragments.c b/fragments.c index dd0f867..cf6f634 100644 --- a/fragments.c +++ b/fragments.c @@ -9,6 +9,7 @@ Maybe the cairo->pixman conversion should just take place inside the image? Maybe it doesn't matter that much. Maybe polygon images will make the question irrelevant. + However, we definitely don't want to copy the traps structure to all the fragments. For pimages, have the image take a ref would be more convenient. @@ -93,6 +94,10 @@ fragment_new (int width, int height) static void fragment_free (fragment_t *fragment) { + if (fragment->broken) + return; + + /* FIXME */ } |