From dd820bbe7f53e051add94dbcdc779dae1820e0d6 Mon Sep 17 00:00:00 2001 From: Ken Sharp Date: Wed, 15 Nov 2017 16:49:41 +0000 Subject: Device method repair - use accessors throughout A lot of places accessed device methods directly, instead of using the accessor macros. Update all the code to use the accessors. --- base/gdevmpla.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/gdevmpla.c') diff --git a/base/gdevmpla.c b/base/gdevmpla.c index a2080db98..51e5ea65e 100644 --- a/base/gdevmpla.c +++ b/base/gdevmpla.c @@ -51,7 +51,7 @@ mem_planar_dev_spec_op(gx_device *pdev, int dev_spec_op, if (dev_spec_op == gxdso_supports_devn) { dev_proc(pdev, get_profile)(pdev, &dev_profile); if (dev_profile != NULL && dev_profile->supports_devn && - pdev->procs.fill_rectangle_hl_color == mem_planar_fill_rectangle_hl_color) + dev_proc(pdev, fill_rectangle_hl_color) == mem_planar_fill_rectangle_hl_color) return 1; } return gx_default_dev_spec_op(pdev, dev_spec_op, data, size); -- cgit v1.2.1