Skip to content
Snippets Groups Projects
Commit 5389d201 authored by Michael R Sweet's avatar Michael R Sweet
Browse files

Pass 0 instead of false for integer parameter, since not all C++ compilers

support bool type or conversion to int...


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1434 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
parent 8626976d
No related branches found
No related tags found
No related merge requests found
//
// "$Id: Fl_Gl_Window.H,v 1.7.2.4 2001/03/14 17:20:01 spitzak Exp $"
// "$Id: Fl_Gl_Window.H,v 1.7.2.5 2001/04/18 15:45:48 easysw Exp $"
//
// OpenGL header file for the Fast Light Tool Kit (FLTK).
//
......@@ -71,7 +71,7 @@ public:
int mode(const int *a) {return mode(0, a);}
void* context() const {return context_;}
FL_EXPORT void context(void*, int destroy_flag = false);
FL_EXPORT void context(void*, int destroy_flag = 0);
FL_EXPORT void make_current();
FL_EXPORT void swap_buffers();
FL_EXPORT void ortho();
......@@ -90,5 +90,5 @@ public:
#endif
//
// End of "$Id: Fl_Gl_Window.H,v 1.7.2.4 2001/03/14 17:20:01 spitzak Exp $".
// End of "$Id: Fl_Gl_Window.H,v 1.7.2.5 2001/04/18 15:45:48 easysw Exp $".
//
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment