diff options
| author | ManoloFLTK <manolo> | 2018-12-05 11:04:58 +0100 |
|---|---|---|
| committer | ManoloFLTK <manolo> | 2018-12-05 11:04:58 +0100 |
| commit | 3bcb1256bb3b5c6c3600bef5736936cdb613269c (patch) | |
| tree | 698a8d6ad6525f6296de5d39d2b8356a1e5ae99a /FL | |
| parent | fb4cb7165583b612ba95563445fa9d0685e2a75a (diff) | |
New static member function: Fl_Device_Plugin *Fl_Device_Plugin::opengl_plugin()
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Device.H | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_Device.H b/FL/Fl_Device.H index de1c47485..540ec8354 100644 --- a/FL/Fl_Device.H +++ b/FL/Fl_Device.H @@ -126,6 +126,8 @@ public: virtual Fl_RGB_Image* rectangle_capture(Fl_Widget *widget, int x, int y, int w, int h) = 0; /** Returns the window's GL context */ virtual GLContext context(Fl_Widget *widget) = 0; + /** Returns the OpenGL plugin */ + static Fl_Device_Plugin *opengl_plugin(); }; #endif // Fl_Device_H |
