summaryrefslogtreecommitdiff
path: root/test/cube.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-03-22 20:43:02 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-03-22 20:43:02 +0100
commit61d72c76d25aa2d315e71fc0ef2eda9c871433d4 (patch)
treec48e169564627f62b6d616fefd13ae5ce3ac3a31 /test/cube.cxx
parent94d2f81daaa4eb63e195e5e62aa1213123dc6423 (diff)
Restore building when HAVE_GL is 0
Diffstat (limited to 'test/cube.cxx')
-rw-r--r--test/cube.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cube.cxx b/test/cube.cxx
index fa96130ee..2b904e4dc 100644
--- a/test/cube.cxx
+++ b/test/cube.cxx
@@ -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>