-
- Downloads
Replaced remaining _WIN32 symbols with WIN32
Stuff from work: Removed reference to unused GL/glu.h header file, which is missing on some Linux systems. Fl_Gl_Window has a new method to allow you to get and set the context: void Fl_Gl_Window::context(void*, int destroy = 0) void* Fl_Gl_Window::context() const; Return or set a pointer to the GLContext that this window is using. This is a system-dependent structure, but it is portable to copy the context from one window to another. You can also set it to NULL, which will force FLTK to recreate the context the next time make_current() is called, this is useful for getting around bugs in OpenGL implementations. If destroy_flag is true the context will be destroyed by fltk when the window is destroyed, or when the mode() is changed, or the next time context(x) is called. Some cleanup of Fl_Gl_Choice to move most of the system dependent #ifdefs into Fl_Gl_Choice.cxx. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1413 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Showing
- FL/Fl_Gl_Window.H 13 additions, 7 deletionsFL/Fl_Gl_Window.H
- FL/glut.H 4 additions, 4 deletionsFL/glut.H
- Makefile 5 additions, 2 deletionsMakefile
- documentation/Fl_Gl_Window.html 17 additions, 0 deletionsdocumentation/Fl_Gl_Window.html
- src/Fl_Gl_Choice.H 45 additions, 31 deletionssrc/Fl_Gl_Choice.H
- src/Fl_Gl_Choice.cxx 42 additions, 26 deletionssrc/Fl_Gl_Choice.cxx
- src/Fl_Gl_Overlay.cxx 77 additions, 80 deletionssrc/Fl_Gl_Overlay.cxx
- src/Fl_Gl_Window.cxx 52 additions, 65 deletionssrc/Fl_Gl_Window.cxx
- src/Fl_compose.cxx 3 additions, 3 deletionssrc/Fl_compose.cxx
- src/fl_file_chooser.cxx 3 additions, 3 deletionssrc/fl_file_chooser.cxx
- src/gl_draw.cxx 8 additions, 8 deletionssrc/gl_draw.cxx
- src/gl_start.cxx 12 additions, 21 deletionssrc/gl_start.cxx
- test/cube.cxx 12 additions, 2 deletionstest/cube.cxx
Loading
Please register or sign in to comment