From 0623a8d4b9e8a56cc435dc550c6b56fa1a9607e9 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Mon, 1 Mar 2021 15:10:52 +0100 Subject: Remove duplicated code between derived classes of Fl_Graphics_Driver. --- src/drivers/GDI/Fl_GDI_Graphics_Driver.H | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/drivers/GDI') diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver.H b/src/drivers/GDI/Fl_GDI_Graphics_Driver.H index d322bc8af..4ec7bce82 100644 --- a/src/drivers/GDI/Fl_GDI_Graphics_Driver.H +++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver.H @@ -49,10 +49,9 @@ protected: int counts[20]; uchar *mask_bitmap_; uchar **mask_bitmap() {return &mask_bitmap_;} - int p_size; POINT *p; public: - Fl_GDI_Graphics_Driver() {mask_bitmap_ = NULL; gc_ = NULL; p_size = 0; p = NULL; depth = -1; origins = NULL;} + Fl_GDI_Graphics_Driver() {mask_bitmap_ = NULL; gc_ = NULL; p = NULL; depth = -1; origins = NULL;} virtual ~Fl_GDI_Graphics_Driver() { if (p) free(p); delete[] origins;} virtual int has_feature(driver_feature mask) { return mask & NATIVE; } char can_do_alpha_blending(); -- cgit v1.2.3