diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-04-29 10:40:02 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2021-04-29 10:40:18 +0200 |
| commit | 9df287b415cd4d67a7a371c4cc89a11ebb8340f6 (patch) | |
| tree | c918ed8ee29b088555746e7ad391e425b1aa920f /src/drivers/X11 | |
| parent | f9e8ef0b7acd645a6327eb9d8fb76ce99481b0f9 (diff) | |
Cleaner access to Fl_Gl_Window_Driver objects.
Diffstat (limited to 'src/drivers/X11')
| -rw-r--r-- | src/drivers/X11/Fl_X11_Gl_Window_Driver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/X11/Fl_X11_Gl_Window_Driver.cxx b/src/drivers/X11/Fl_X11_Gl_Window_Driver.cxx index a52d4c70f..ac7041f19 100644 --- a/src/drivers/X11/Fl_X11_Gl_Window_Driver.cxx +++ b/src/drivers/X11/Fl_X11_Gl_Window_Driver.cxx @@ -430,7 +430,7 @@ void _Fl_Gl_Overlay::draw() { uchar save_valid = w->valid(); w->valid(valid()); Fl_Xlib_Graphics_Driver::fl_overlay = 1; - w->gl_driver()->draw_overlay(); + Fl_Gl_Window_Driver::driver(w)->draw_overlay(); Fl_Xlib_Graphics_Driver::fl_overlay = 0; valid(w->valid()); w->valid(save_valid); |
