summaryrefslogtreecommitdiff
path: root/src/Fl_Gl_Overlay.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-06-21 21:47:00 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2019-06-21 21:47:00 +0200
commit35376256e2da9bb517dc9c184d319f46490a21c2 (patch)
treed2c667a23b94c1ebb5e4d65ba0cd0c82d2929be9 /src/Fl_Gl_Overlay.cxx
parent71f645a6ed0522bc49fe57f8cabf17f2a1e0b29e (diff)
Simpler list of virtual member functions of Fl_Gl_Window_Driver
Diffstat (limited to 'src/Fl_Gl_Overlay.cxx')
-rw-r--r--src/Fl_Gl_Overlay.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/Fl_Gl_Overlay.cxx b/src/Fl_Gl_Overlay.cxx
index c10b6f068..ab969d447 100644
--- a/src/Fl_Gl_Overlay.cxx
+++ b/src/Fl_Gl_Overlay.cxx
@@ -224,18 +224,15 @@ void Fl_X11_Gl_Window_Driver::make_overlay(void *&current) {
////////////////////////////////////////////////////////////////
// Windows version:
-void Fl_WinAPI_Gl_Window_Driver::hide_overlay(void *& overlay) {
#if HAVE_GL_OVERLAY
+void Fl_WinAPI_Gl_Window_Driver::gl_hide_before(void *& overlay) {
if (overlay && overlay != pWindow) {
delete_gl_context((GLContext)overlay);
overlay = 0;
}
-#endif
}
+#endif
-void Fl_WinAPI_Gl_Window_Driver::hide_overlay() {
- Fl_Gl_Window_Driver::hide_overlay();
-}
void Fl_WinAPI_Gl_Window_Driver::make_overlay_current() {
#if HAVE_GL_OVERLAY