diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H index e131a2961..b9db1d270 100644 --- a/FL/Fl_Graphics_Driver.H +++ b/FL/Fl_Graphics_Driver.H @@ -76,9 +76,6 @@ typedef struct _PangoFontDescription PangoFontDescription; */ class FL_EXPORT Fl_Graphics_Driver { friend class Fl_Surface_Device; - friend class Fl_Display_Device; - friend class Fl_Screen_Driver; - friend class Fl_Window_Driver; friend class Fl_Pixmap; friend class Fl_Bitmap; friend class Fl_RGB_Image; @@ -90,7 +87,6 @@ class FL_EXPORT Fl_Graphics_Driver { friend void fl_copy_offscreen(int x, int y, int w, int h, Fl_Offscreen pixmap, int srcx, int srcy); friend int fl_convert_pixmap(const char*const* cdata, uchar* out, Fl_Color bg); friend FL_EXPORT void gl_start(); - friend FL_EXPORT void gl_finish(); /* ============== Implementation note about image drawing ========================= A graphics driver can implement up to 6 virtual member functions to draw images: virtual void draw_pixmap(Fl_Pixmap *pxm,int XP, int YP, int WP, int HP, int cx, int cy)