diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-04-25 13:34:43 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-04-25 13:34:43 +0000 |
| commit | d3afe9c10a216843c5ad01be1c373251464c85c0 (patch) | |
| tree | f1e6fe8ae2282305bf1f358c62bb7004aa3549d8 /test/CubeView.cxx | |
| parent | 804317fd5e83e846507e975179db01f1ac70eca5 (diff) | |
Don't use GCC c++ or g++ compiler to build programs, use gcc instead.
Some more anti-warning stuff...
Added --disable-gl option to disable OpenGL support + check.
Added code to stop the configuration if X11 could not be found.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1441 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test/CubeView.cxx')
| -rw-r--r-- | test/CubeView.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/CubeView.cxx b/test/CubeView.cxx index b54fcfa9d..e45e27ddc 100644 --- a/test/CubeView.cxx +++ b/test/CubeView.cxx @@ -1,5 +1,5 @@ // -// "$Id: CubeView.cxx,v 1.4.2.3 2001/01/22 15:13:41 easysw Exp $" +// "$Id: CubeView.cxx,v 1.4.2.4 2001/04/25 13:34:43 easysw Exp $" // // CubeView class implementation for the Fast Light Tool Kit (FLTK). // @@ -55,7 +55,7 @@ CubeView::CubeView(int x,int y,int w,int h,const char *l) label("OpenGL is required for this demo to operate."); align(FL_ALIGN_WRAP | FL_ALIGN_INSIDE); #endif /* !HAVE_GL */ -}; +} #if HAVE_GL void CubeView::drawCube() { @@ -139,7 +139,7 @@ void CubeView::drawCube() { glVertex3fv(boxv3); glVertex3fv(boxv7); glEnd(); -};//drawCube +}//drawCube void CubeView::draw() { if (!valid()) { @@ -161,9 +161,9 @@ void CubeView::draw() { drawCube(); glPopMatrix(); -}; +} #endif /* HAVE_GL */ // -// End of "$Id: CubeView.cxx,v 1.4.2.3 2001/01/22 15:13:41 easysw Exp $". +// End of "$Id: CubeView.cxx,v 1.4.2.4 2001/04/25 13:34:43 easysw Exp $". // |
