diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-12-06 05:57:13 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-12-06 05:57:13 +0100 |
commit | 6162dc43d376fce8906160d51e3ab076d83632aa (patch) | |
tree | 61a17e608638b8164b2ca50e7837723f5af37d29 /tree/shade.c | |
parent | 1dfbba0a2142c0786714c1d476fc2736044a02ac (diff) | |
download | mupdf-6162dc43d376fce8906160d51e3ab076d83632aa.tar.xz |
mesh based shadings
Diffstat (limited to 'tree/shade.c')
-rw-r--r-- | tree/shade.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tree/shade.c b/tree/shade.c index cb33072e..f092fa9d 100644 --- a/tree/shade.c +++ b/tree/shade.c @@ -12,8 +12,8 @@ fz_dropshade(fz_shade *shade) { if (--shade->refs == 0) { - if (shade->cs) - fz_dropcolorspace(shade->cs); + if (shade->colorspace) + fz_dropcolorspace(shade->colorspace); fz_free(shade); } } |