diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-21 14:39:00 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-21 14:39:00 +0100 |
| commit | bf5b902180f0e5654f5802cf9ef588ecf57d20c6 (patch) | |
| tree | c6ca474a1c8f044eb7f3ba4199d2455781fafda9 /src/drivers/Quartz/Fl_Quartz_Graphics_Driver.H | |
| parent | 49dae86edf4d1deb7f5e39f57f05a6656137ead1 (diff) | |
Rename member Fl_Graphics_Driver::p to xpoint to avoid shadowing.
Diffstat (limited to 'src/drivers/Quartz/Fl_Quartz_Graphics_Driver.H')
| -rw-r--r-- | src/drivers/Quartz/Fl_Quartz_Graphics_Driver.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.H b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.H index fcbbe810b..3062a0217 100644 --- a/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.H +++ b/src/drivers/Quartz/Fl_Quartz_Graphics_Driver.H @@ -2,7 +2,7 @@ // Definition of Apple Quartz graphics driver // for the Fast Light Tool Kit (FLTK). // -// Copyright 2010-2018 by Bill Spitzak and others. +// Copyright 2010-2022 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -59,7 +59,7 @@ protected: virtual void cache_size(Fl_Image* img, int &width, int &height); public: Fl_Quartz_Graphics_Driver(); - virtual ~Fl_Quartz_Graphics_Driver() { if (p) free(p); } + virtual ~Fl_Quartz_Graphics_Driver() { if (xpoint) free(xpoint); } virtual int has_feature(driver_feature mask) { return mask & NATIVE; } virtual void gc(void *ctxt) { gc_ = (CGContextRef)ctxt; global_gc(); } virtual void *gc() {return gc_;} |
