summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Device.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H
index b017e17f3..3a31a49b7 100644
--- a/FL/Fl_Device.H
+++ b/FL/Fl_Device.H
@@ -70,10 +70,10 @@ class FL_EXPORT Fl_Surface_Device {
Fl_Graphics_Driver *pGraphicsDriver;
static Fl_Surface_Device *surface_; // the surface that currently receives graphics requests
static Fl_Surface_Device *default_surface(); // create surface if none exists yet
+protected:
/* Some drawing surfaces (e.g., Fl_XXX_Image_Surface_Driver) re-implement this.
Gets called each time a surface ceases to be the current drawing surface. */
- virtual void end_current_() {}
-protected:
+ virtual void end_current() {}
/** Constructor that sets the graphics driver to use for the created surface. */
Fl_Surface_Device(Fl_Graphics_Driver *graphics_driver) {pGraphicsDriver = graphics_driver; }
/** Sets the graphics driver of this drawing surface. */