Skip to content

Commit

Permalink
Wayland: Fix Fl_Gl_Window_Driver::newGlWindowDriver() for shared libs
Browse files Browse the repository at this point in the history
  • Loading branch information
ManoloFLTK committed Aug 30, 2022
1 parent 95c851f commit 2c1effc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/Wayland/fl_wayland_gl_platform_init.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@

Fl_Gl_Window_Driver *Fl_Gl_Window_Driver::newGlWindowDriver(Fl_Gl_Window *w)
{
if (Fl_Wayland_Screen_Driver::wl_display) return new Fl_Wayland_Gl_Window_Driver(w);
if (fl_wl_display()) return new Fl_Wayland_Gl_Window_Driver(w);
return new Fl_X11_Gl_Window_Driver(w);
}

0 comments on commit 2c1effc

Please sign in to comment.