Fix gl_overlay under Wayland
This commit is contained in:
parent
5175192755
commit
2527632054
@ -305,6 +305,7 @@ void Fl_Wayland_Gl_Window_Driver::make_current_before() {
|
||||
// Tested wayland compositors: mutter, kde-plasma, weston, sway on FreeBSD.
|
||||
wl_display_roundtrip(fl_wl_display());
|
||||
wl_display_roundtrip(fl_wl_display());
|
||||
wl_display_roundtrip(fl_wl_display()); // necessary for gl_overlay
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user