Wayland: Fix Fl_Gl_Window_Driver::newGlWindowDriver() for shared libs
This commit is contained in:
parent
95c851fda1
commit
2c1effc385
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user