Restore building when HAVE_GL is 0

This commit is contained in:
ManoloFLTK 2022-03-22 20:43:02 +01:00
parent 94d2f81daa
commit 61d72c76d2
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ public:
cube_box(int x,int y,int w,int h,const char *l=0) :Fl_Box(FL_DOWN_BOX,x,y,w,h,l) {
label("This demo does\nnot work without GL");
}
void begin() {}
void end() {}
};
#else
#include <FL/Fl_Gl_Window.H>