diff options
| author | Manolo Gouy <Manolo> | 2016-04-26 06:07:53 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-04-26 06:07:53 +0000 |
| commit | 2d83a11742426ed80c0e2142cda239dbcdfd2922 (patch) | |
| tree | d06615b76f4d8cfbe64ff59c979f9d96232e66e3 /src/drivers/OpenGL/Fl_OpenGL_Display_Device.H | |
| parent | 25b4076b0376a924eb6c83f03f72e13e2f979d15 (diff) | |
Make one version of Fl_OpenGL_Display_Device::capture_gl_rectangle() the default one.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11698 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/OpenGL/Fl_OpenGL_Display_Device.H')
| -rw-r--r-- | src/drivers/OpenGL/Fl_OpenGL_Display_Device.H | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/drivers/OpenGL/Fl_OpenGL_Display_Device.H b/src/drivers/OpenGL/Fl_OpenGL_Display_Device.H index 5637e6525..153121a60 100644 --- a/src/drivers/OpenGL/Fl_OpenGL_Display_Device.H +++ b/src/drivers/OpenGL/Fl_OpenGL_Display_Device.H @@ -3,7 +3,7 @@ // // implementation of class Fl_Gl_Device_Plugin for the Fast Light Tool Kit (FLTK). // -// Copyright 2010-2014 by Bill Spitzak and others. +// Copyright 2010-2016 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -16,7 +16,6 @@ // http://www.fltk.org/str.php // - #include <FL/Fl_Device.H> class Fl_OpenGL_Graphics_Driver; @@ -28,13 +27,12 @@ class Fl_RGB_Image; This surface is needed as an interface between GL windows and the GL graphics driver. */ class FL_EXPORT Fl_OpenGL_Display_Device : public Fl_Surface_Device { -public: Fl_OpenGL_Display_Device(Fl_OpenGL_Graphics_Driver *graphics_driver); +public: static Fl_OpenGL_Display_Device *display_device(); static Fl_RGB_Image* capture_gl_rectangle(Fl_Gl_Window*, int, int, int, int); }; - // // End of "$Id$". // |
