Nice. I just tried it on Windows and it works.#include <FL/Fl.H>#include <FL/Enumerations.H>#include <FL/Fl_Gl_Window.H>#include <FL/Fl_Button.H>int main(int argc, char** argv) {auto win = new Fl_Gl_Window(300, 200);win->box(FL_FLAT_BOX);win->begin();auto btn = new Fl_Button(110, 100, 80, 30, "Button 1");win->end();win->resizable(win);win->show();return Fl::run();}From what I understand, the begin call is required, since the Fl_Gl_Window constructor calls end(). Setting a box type for the window is preferable, otherwise it's an FL_NO_BOX (also set in the constructor) which will show artifacts on resizing the window for example.
I tried with Fl_Glut_Window, but it seems it requires an Fl_Gl_Window::draw() in its draw virtual method.