diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-03-28 10:55:24 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-03-28 10:56:21 +0100 |
commit | a7e597397133d4aaa717869258eac6ae34c7dad0 (patch) | |
tree | ce8c4a2c34f4282b69ddd24531ae1c319470e8c4 /source/fitz/draw-device.c | |
parent | 57b2ee8fe52cf9e2eaf4095b8697f33e17a5529f (diff) | |
download | mupdf-a7e597397133d4aaa717869258eac6ae34c7dad0.tar.xz |
Rejig fz_new_device to be fz_new_derived_device.
In keeping with the rest of the code.
Diffstat (limited to 'source/fitz/draw-device.c')
-rw-r--r-- | source/fitz/draw-device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/draw-device.c b/source/fitz/draw-device.c index 857844fe..25323b15 100644 --- a/source/fitz/draw-device.c +++ b/source/fitz/draw-device.c @@ -2294,7 +2294,7 @@ fz_draw_render_flags(fz_context *ctx, fz_device *devp, int set, int clear) fz_device * fz_new_draw_device(fz_context *ctx, const fz_matrix *transform, fz_pixmap *dest) { - fz_draw_device *dev = fz_new_device(ctx, sizeof *dev); + fz_draw_device *dev = fz_new_derived_device(ctx, fz_draw_device); dev->super.drop_device = fz_draw_drop_device; |