summaryrefslogtreecommitdiff
path: root/test/CubeView.h
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>1999-03-04 20:11:49 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>1999-03-04 20:11:49 +0000
commit474e82bd95f0a3b9ac5b1361e541ae25ddb7f8b4 (patch)
treea0a3359a18d9f4fd86bfc02048817ac1252c7221 /test/CubeView.h
parent16d264d393e9aa8ce741102f453d84255cd31a1d (diff)
Added HAVE_GL check to CubeView demo code.
git-svn-id: file:///fltk/svn/fltk/trunk@368 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/CubeView.h')
-rw-r--r--test/CubeView.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/CubeView.h b/test/CubeView.h
index c58060099..d00d517da 100644
--- a/test/CubeView.h
+++ b/test/CubeView.h
@@ -1,5 +1,5 @@
//
-// "$Id: CubeView.h,v 1.1 1999/02/22 21:33:54 mike Exp $"
+// "$Id: CubeView.h,v 1.2 1999/03/04 20:11:49 mike Exp $"
//
// CubeView class definitions for the Fast Light Tool Kit (FLTK).
//
@@ -28,8 +28,10 @@
#include <config.h>
#include <FL/Fl.H>
#include <FL/Fl_Gl_Window.H>
-#include <FL/gl.h>
-#include <GL/glu.h>
+#ifdef HAVE_GL
+# include <FL/gl.h>
+# include <GL/glu.h>
+#endif /* HAVE_GL */
#include <stdlib.h>
@@ -109,5 +111,5 @@ private:
#endif
//
-// End of "$Id: CubeView.h,v 1.1 1999/02/22 21:33:54 mike Exp $".
+// End of "$Id: CubeView.h,v 1.2 1999/03/04 20:11:49 mike Exp $".
//