diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-04-30 17:17:01 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-04-30 17:17:01 +0000 |
| commit | 09f987eeb1c5de94385d2934628b2514295f2216 (patch) | |
| tree | 1b2b2aa53734fd0f19f6ec5a9daa3c00b026c7de /test | |
| parent | f2d2d347e986bcd480d5997865233072792f8ec5 (diff) | |
Separate test for GLU and GL...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1449 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
| -rw-r--r-- | test/CubeView.h | 5 | ||||
| -rw-r--r-- | test/fractals.cxx | 8 | ||||
| -rw-r--r-- | test/glpuzzle.cxx | 8 |
3 files changed, 10 insertions, 11 deletions
diff --git a/test/CubeView.h b/test/CubeView.h index 3678bd244..a022eb6a1 100644 --- a/test/CubeView.h +++ b/test/CubeView.h @@ -1,5 +1,5 @@ // -// "$Id: CubeView.h,v 1.4.2.3 2001/01/22 15:13:41 easysw Exp $" +// "$Id: CubeView.h,v 1.4.2.4 2001/04/30 17:17:01 easysw Exp $" // // CubeView class definitions for the Fast Light Tool Kit (FLTK). // @@ -30,7 +30,6 @@ #if HAVE_GL # include <FL/Fl_Gl_Window.H> # include <FL/gl.h> -# include <GL/glu.h> #else # include <FL/Fl_Box.H> #endif /* HAVE_GL */ @@ -119,5 +118,5 @@ private: #endif // -// End of "$Id: CubeView.h,v 1.4.2.3 2001/01/22 15:13:41 easysw Exp $". +// End of "$Id: CubeView.h,v 1.4.2.4 2001/04/30 17:17:01 easysw Exp $". // diff --git a/test/fractals.cxx b/test/fractals.cxx index d94d5be86..bbe87ea34 100644 --- a/test/fractals.cxx +++ b/test/fractals.cxx @@ -1,5 +1,5 @@ // -// "$Id: fractals.cxx,v 1.5.2.5 2001/03/14 17:35:47 spitzak Exp $" +// "$Id: fractals.cxx,v 1.5.2.6 2001/04/30 17:17:01 easysw Exp $" // // Fractal drawing demo for the Fast Light Tool Kit (FLTK). // @@ -28,11 +28,11 @@ // #include <config.h> -#if !HAVE_GL +#if !HAVE_GL || !HAVE_GL_GLU_H #include <FL/Fl.H> #include <FL/fl_message.H> int main(int, char**) { - fl_alert("This demo does not work without GL"); + fl_alert("This demo does not work without GL and GLU"); return 1; } #else @@ -806,5 +806,5 @@ int main(int argc, char** argv) #endif // -// End of "$Id: fractals.cxx,v 1.5.2.5 2001/03/14 17:35:47 spitzak Exp $". +// End of "$Id: fractals.cxx,v 1.5.2.6 2001/04/30 17:17:01 easysw Exp $". // diff --git a/test/glpuzzle.cxx b/test/glpuzzle.cxx index cf8cf5c9c..5a6bc9dd7 100644 --- a/test/glpuzzle.cxx +++ b/test/glpuzzle.cxx @@ -1,5 +1,5 @@ // -// "$Id: glpuzzle.cxx,v 1.8.2.4 2001/03/14 17:35:47 spitzak Exp $" +// "$Id: glpuzzle.cxx,v 1.8.2.5 2001/04/30 17:17:01 easysw Exp $" // // OpenGL puzzle demo for the Fast Light Tool Kit (FLTK). // @@ -28,11 +28,11 @@ // this block added for fltk's distribtion so it will compile w/o OpenGL: #include <config.h> -#if !HAVE_GL +#if !HAVE_GL || !HAVE_GL_GLU_H #include <FL/Fl.H> #include <FL/fl_message.H> int main(int, char**) { - fl_alert("This demo does not work without GL"); + fl_alert("This demo does not work without GL and GLU"); return 1; } #else @@ -1480,5 +1480,5 @@ main(int argc, char **argv) #endif // added for fltk's distribution // -// End of "$Id: glpuzzle.cxx,v 1.8.2.4 2001/03/14 17:35:47 spitzak Exp $". +// End of "$Id: glpuzzle.cxx,v 1.8.2.5 2001/04/30 17:17:01 easysw Exp $". // |
