diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-08-20 17:26:02 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-08-20 17:26:02 +0200 |
| commit | d5a1e7feb98f0d3efc17ea755a5f94d008cd4f80 (patch) | |
| tree | e1e2d4d00815f278588c17ac108cc66c14c3f2c8 /src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx | |
| parent | 7deff86b5d70ca3f8a1ed4cbbc251c7fa31444dd (diff) | |
Add static Fl_Wayland_Window_Driver::gl_plugin() member function.
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx index 57d43c63c..6a185ed79 100644 --- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx @@ -1115,8 +1115,7 @@ void Fl_Wayland_Screen_Driver::open_display_platform() { } void Fl_Wayland_Screen_Driver::close_display() { - Fl_Plugin_Manager pm("wayland.fltk.org"); - Fl_Wayland_Plugin *plugin = (Fl_Wayland_Plugin*)pm.plugin("gl.wayland.fltk.org"); + Fl_Wayland_Plugin *plugin = Fl_Wayland_Window_Driver::gl_plugin(); if (plugin) plugin->terminate(); Fl::remove_fd(wl_display_get_fd(Fl_Wayland_Screen_Driver::wl_display)); |
